tolyo / ionic-brunch-es6-seed Goto Github PK
View Code? Open in Web Editor NEWIonic project starter template powered by Brunch and Babel
License: MIT License
Ionic project starter template powered by Brunch and Babel
License: MIT License
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/DEV/ionic-brunch/ionic-brunch-es6-seed$ cd app
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:
noel@nbdev:/DEV/ionic-brunch/ionic-brunch-es6-seed/app$ ls/DEV/ionic-brunch/ionic-brunch-es6-seed/app$ node app.js
AppConfig.js app.js app.scss desktop.html ionic-angular.js modules
AppCtrl.js AppRun.js assets index.html ionic.js styles
noel@nbdev:
/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 :)
When run tha app ...Module 'app.playlists' is not available!...
git clone [email protected]:tolyo/ionic-brunch-es6-seed.git
cd ionic-brunch-es6-seed
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"
}
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.