GithubHelp home page GithubHelp logo

ionic-brunch-es6-seed's People

Contributors

tolyo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ionic-brunch-es6-seed's Issues

npm start not working

Hello,

I followed the directions as found on npmjs.org, and then decided to open an issue over here (as it seemed more appropriate to do so).

So, after trying:

npm start mobile

OR

npm start desktop

I get an error about npm start being undefined.

So I tried just running:

node app.js, also to no avail.

Here's my complete terminal input/output:

noel@nbdev:~/DEV/ionic-brunch/ionic-brunch-es6-seed$ npm start mobile
npm ERR! Linux 4.4.0-28-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start" "mobile"
npm ERR! node v4.4.5
npm ERR! npm v2.15.5

npm ERR! missing script: start
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /home/noel/DEV/ionic-brunch/ionic-brunch-es6-seed/npm-debug.log
noel@nbdev:~/DEV/ionic-brunch/ionic-brunch-es6-seed$ npm start desktop
npm ERR! Linux 4.4.0-28-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start" "desktop"
npm ERR! node v4.4.5
npm ERR! npm v2.15.5

npm ERR! missing script: start
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /home/noel/DEV/ionic-brunch/ionic-brunch-es6-seed/npm-debug.log
noel@nbdev:/DEV/ionic-brunch/ionic-brunch-es6-seed$ ls
app hooks karma.conf.js npm-debug.log
config.js ionic.project LICENSE package.json
config.xml karmaboot.js node_modules README.md
noel@nbdev:
/DEV/ionic-brunch/ionic-brunch-es6-seed$ cd app
noel@nbdev:/DEV/ionic-brunch/ionic-brunch-es6-seed/app$ ls
AppConfig.js app.js app.scss desktop.html ionic-angular.js modules
AppCtrl.js AppRun.js assets index.html ionic.js styles
noel@nbdev:
/DEV/ionic-brunch/ionic-brunch-es6-seed/app$ node app.js
/home/noel/DEV/ionic-brunch/ionic-brunch-es6-seed/app/app.js:1
(function (exports, require, module, __filename, __dirname) { import angular from 'angular';
^^^^^^

SyntaxError: Unexpected reserved word
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:968:3

I'm hoping this is just me being a complete noob or something, and that I'M the problem :)

thanks in advance :)

Failed to instantiate module!

When run tha app ...Module 'app.playlists' is not available!...

  1. git clone [email protected]:tolyo/ionic-brunch-es6-seed.git
  2. cd ionic-brunch-es6-seed
  3. npm install

Using ionic-cli 3.3.0, needs a rename to the following file.
4 Rename ionic.project to ionic.config.json and add ionic version type:

{
  "name": "ionic-brunch-es6-seed",
  "app_id": "",
  "type": "ionic1"
}
  1. Running the app during development with either npm run mobile to serve using Brunch or npm run desktop to serve using Electron, app starts blank and i have the following error:
Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:modulerr] Failed to instantiate module app.playlists due to:
Error: [$injector:nomod] Module 'app.playlists' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.6.4/$injector/nomod?p0=app.playlists
    at file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:9849:12
    at file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:12045:17
    at ensure (file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:11966:38)
    at module (file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:12043:14)
    at file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:14679:22
    at forEach (file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:10186:20)
    at loadModules (file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:14663:5)
    at file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:14681:40
    at forEach (file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:10186:20)
    at loadModules (file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:14663:5)
http://errors.angularjs.org/1.6.4/$injector/modulerr?p0=app.playlists&p1=Er…onomopo%2FProjects%2Fionic-brunch-es6-seed%2Fwww%2Fjs%2Fapp.js%3A14663%3A5)
    at file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:9849:12
    at file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:14703:15
    at forEach (file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:10186:20)
    at loadModules (file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:14663:5)
    at file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:14681:40
    at forEach (file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:10186:20)
    at loadModules (file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:14663:5)
    at createInjector (file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:14585:19)
    at doBootstrap (file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:11697:20)
    at bootstrap (file:///Users/oikonomopo/Projects/ionic-brunch-es6-seed/www/js/app.js:11718:12)
http://errors.angularjs.org/1.6.4/$injector/modulerr?p0=app&p1=Error%3A%20%…nomopo%2FProjects%2Fionic-brunch-es6-seed%2Fwww%2Fjs%2Fapp.js%3A11718%3A12)(anonymous function) @ angular.js:70(anonymous function) @ angular.js:4924forEach @ angular.js:407loadModules @ angular.js:4884createInjector @ angular.js:4806doBootstrap @ angular.js:1918bootstrap @ angular.js:1939angularInit @ angular.js:1824(anonymous function) @ angular.js:33371trigger @ angular.js:3435

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.