Ionic issue after installation

时光怂恿深爱的人放手 提交于 2019-12-05 03:35:18
Zarbat

I have solved this! My nodejs version was too old (5.6.0) and I have seen that it doesn't work with ionic cli, so I have installed before nvm

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash

and then launch from terminal -> nvm install v6.10.3 to have last stable node js version, now all works again!

Just remove nodejs from your linux :

sudo apt remove nodejs

And install the latest version :

curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -

sudo apt-get install -y nodejs

This come from the official website

This did the trick for me, Hope it helps :)

I got the same issue. But After re installed latest version (7) of node.js . It is working Properly.

1st I did flowing command on Ubuntu.

npm cache clean -f

npm install npm -g

2nd

curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - sudo apt-get install -y nodejs

Try this.

On Mac, I am able to solve it using upgrading node using following command :

nvm install node --reinstall-packages-from=node
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!