Error installing

Installed ionic 2 last week on win10 64, tested few apps, everything was ok.

Today it stopped working and I couldn’t create apps or use ionic serve.

Tried to uninstall everything, reinstalled Node and tried to install Ionic with $ npm install -g ionic@beta and got the following error:

error Windows_NT 10.0.10586
error argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “install” “-g” "ionic@beta"
error node v4.3.1
error npm v2.14.12
error code ELIFECYCLE
error ionic@2.0.0-beta.17 postinstall: node lib/tasks/postinstall
error Exit status 1
error Failed at the ionic@2.0.0-beta.17 postinstall script ‘node lib/tasks/postinstall’.
error This is most likely a problem with the ionic package,
error not with npm itself.
error Tell the author that this fails on your system:
error node lib/tasks/postinstall

any ideas?

i had the same problem. I updated my npm. Then it worked. I think there are some changes.

Thanks for the reply.

yes I’ve tried that, also tried different Node versions, 32/64 platforms, found endless nesting in the npm folders - beyond the max_path of windows, routed https to http, checked for proxy settings, deleted the cache, and all other good suggestion from what seems like numerous posts about this problem. Nothing worked…

Eventually I’ve decided to force proxy deletion by using: npm config delete proxy, and this solved the problem.