bug: installation failed with npm install -g ionic
From @elhamsarikhani on October 21, 2015 14:54
Type: bug
Platform: desktop browser
I'm trying to install ionic using
npm install -g ionic
but I get this error:
Copied from original issue: driftyco/ionic#4547
From @MesutGulecen on October 21, 2015 16:23
you must to download node.js and cordova first.
From @elhamsarikhani on October 22, 2015 4:13
Thank you I installed node.js and now it's fine : ]
From @MesutGulecen on October 22, 2015 7:37
You're welcome :)
I am having the same exact issue, I could not resolve this until I downgraded NodeJS and NPM to 0.10.4. I spent hours uninstall/reinstall NodeJS and NPM.
Did you manage to resolve this issue on latest NodeJS and NPM versions? What did you do exactly? I just downloaded NodeJS x64 (I tried x86, same thing), installed Cordova (works every time), and got the unexpected eof error every time.
+1
Guys installing the latest version of nodeJS solved my issue
Thanks for opening the issue. It seems that issue has been resolved. I am going to close this issue but please feel free to reopen another issue if this occurs again.