I am getting still this error
[17:37:40] Using gulpfile E:\ionicworkspace\app\gulpfile.js
[17:37:40] Starting ‘dev-config’…
[17:37:40] Finished ‘dev-config’ after 14 ms
[17:37:40] Starting ‘dev-sass’…
[17:37:40] Starting ‘inject-index’…
[17:37:40] Finished ‘inject-index’ after 2.91 ms
[17:37:40] Starting ‘watch’…
[17:37:40] Finished ‘watch’ after 28 ms
Error in plugin ‘gulp-sass’
Message:
scss\ionic-customized.scss
12:3 file to import not found or unreadable: src/lib/ionic/scss/ionicons/ioni
cons.scss
Current dir: E:/ionicworkspace/app/scss/
Details:
column: 3
line: 12
file: E:/ionicworkspace/app/scss/ionic-customized.scss
status: 1
messageFormatted: scss\ionic-customized.scss
12:3 file to import not found or unreadable: src/lib/ionic/scss/ionicons/ioni
cons.scss
Current dir: E:/ionicworkspace/app/scss/
[17:37:40] Finished ‘dev-sass’ after 89 ms
[17:37:40] Starting ‘default’…
[17:37:40] Finished ‘default’ after 9.58 µs
[17:37:40] gulp-inject 36 files into index-template.html.
I do believe I’ve got to the bottom of the issue by upgrading gulp-sass to a newer version that’s compatible with both the “old” and the “new” nodejs versions, and adding this “sass include path” in the gulpfile.js. On my system it works fine but I’m still running nodejs 0.12.x (I don’t want to mess with my nodejs now).
I’ve pushed my changes/fixes to the repo, please try to just delete what you already installed and then do a fresh install. Good thing if we can get to the bottom of this issue and sort it out, it affects many people who upgrade to a new nodejs.
I uninstall existing node.js. Installed v0.12.x version Now i am getting following error
ionic $ module.js:338
throw err;
^
Error: Cannot find module 'gulp-sass’
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (E:\ionicworkspace\app\gulpfile.js:15:12)
at Module._compile (module.js:460:26)
at Object.Module._extensions…js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
Apologies, I didn’t mean uninstall the whole nodejs, but only the ionic-quickstarter (because of the changes I made).
Anyway, yes with nodejs 0.12 it’s known to work. But since I now include the new/updated gulp-sass version (which is supposed to be backwards compatible with the old nodejs and with the new nodejs), it SHOULD work with both v.0.12 or with the new v.4.
At least that’s the theory, which works, as far as I could test it.
If you’re still interested then just delete the whole quickstarter, do a fresh install, run the commands “npm install” (which should install gulp-sass) and so on, and then if it doesn’t work, well then I also don’t know, I’m giving up then because this takes too much time … then we just wait till Ionic 2 comes out.
yes, as a matter of fact, i have been able to thanks to leob’s solution with the menuContent@app. still i have issues though. when i navigate to the pages on the side menu item, i need to retain history so i would have the back button on the header. how do i achieve that?
Doesn’t that work automatically? I think when you select an item from the menu then the history is cleared/reset, every screen access through the menu gets its own new and separate history “stack”, that’s how I think it should work intuitively. But maybe I’m misunderstanding what you try to achieve.