I’m getting the following error while trying to create a starter project. For some reason, the “ionic start myApp sidemenu” command fails when it calls “gulp sass”. Everything other task up to that point ran okay without errors.
gulp-sass@0.7.1 node_modules\gulp-sass
├── map-stream@0.1.0
├── gulp-util@2.2.14 (chalk@0.4.0, lodash._reinterpolate@2.4.1, dateformat@1.0.7-1.2.3, multipipe@0.0.2, minimist@0.0.8, vinyl@0.2.3, through2@0.4.1, lodash.template@2.4.1)
└── node-sass@0.8.3 (node-watch@0.3.4, chalk@0.3.0, nan@0.6.0, mkdirp@0.3.5, optimist@0.6.1, mocha@1.13.0)
[gulp] Using file c:\Users\dev\Code\git\myApp\gulpfile.js
[gulp] Working directory changed to c:\Users\dev\Code\git\myApp
gulp.run() has been deprecated. Use task dependencies or gulp.watch task trigger
ing instead.
[gulp] Running 'sass'...
stream.js:94
throw er; // Unhandled stream error in pipe.
^
[←[32mgulp←[39m] Error in plugin '←[36mgulp-sass←[39m': source string:22: **error: file to import not found or unreadable: "www/lib/ionic/scss/ionic"**
at opts.error (c:\Users\dev\Code\git\myApp\node_modules\gulp-sass\indexjs:67:17)
Looking inside the /myApp/www I do not see any /lib/ionic subfolders. Is there an error in the “start” scripts, or could this be an environmental issue on my part?
Thanks Max for the correction. That was a typo on my part, sorry for any confusion.
Anyways. I just re-ran “ionic start myApp sidemenu” and this time it worked (no error messages)!
Either something has been fixed in the past 2 hours, or I forgot to take my crazy pills today.
Edit: no errors, however I still don’t see a /www/lib folder, created by this "start command. Should that be in there?
I just wanted to follow up and say that since running the following command ( see the getting started guide has been updated) that my issue has been resolved:
npm install -g cordova ionic bower gulp
I can now see the starter app! Thanks for your help.