I have the same problem in OSX, under windows, the same project works fine, when I try to do something with ionic CLI
shows:
ionic serve
There is an error in your gulpfile:
Error: ENOENT, no such file or directory '/Users/dev/Projects/APP/node_modules/ionic-gulp-sass-build/node_modules/gulp-sass/node_modules/node-sass/vendor'
at Error (native)
at Object.fs.readdirSync (fs.js:761:18)
at Object.getInstalledBinaries (/Users/dev/Projects/AOS42_AOV_APP/node_modules/ionic-gulp-sass-build/node_modules/gulp-sass/node_modules/node-sass/lib/extensions.js:60:13)
at foundBinariesList (/Users/dev/Projects/AOS42_AOV_APP/node_modules/ionic-gulp-sass-build/node_modules/gulp-sass/node_modules/node-sass/lib/errors.js:19:15)
at foundBinaries (/Users/dev/Projects/AOS42_AOV_APP/node_modules/ionic-gulp-sass-build/node_modules/gulp-sass/node_modules/node-sass/lib/errors.js:14:5)
at Object.module.exports.missingBinary (/Users/dev/Projects/AOS42_AOV_APP/node_modules/ionic-gulp-sass-build/node_modules/gulp-sass/node_modules/node-sass/lib/errors.js:44:5)
at Object.<anonymous> (/Users/dev/Projects/AOS42_AOV_APP/node_modules/ionic-gulp-sass-build/node_modules/gulp-sass/node_modules/node-sass/lib/index.js:14:28)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
I just took a look at the source code of the sass-build task and it seems that there’s a bug - the nested options are not merged but overwritten (which results in not properly resolved paths). I already made a PR that should fix the problem. As a workaround, you could modify your task to pass the default options as well: