Hi I want to start a new project in Ionic but I’m unable to do it.
It is an error…
Check this:
https://docs.npmjs.com/getting-started/fixing-npm-permissions
Fyi: Don’t (try to) use any sudo commands when using npm on linux (also not during install of npm and/or it’s packages). This will cause errors like ‘EACCES’ when not operating as root.
This might also help:
Uninstall your node, install nvm
(or nvm-windows
if you are on Windows), install a new node
(which includes npm
) with this, then install ionic
and cordova
again and try your command again. The problem should be gone.
I unistalled Ionic,cordova,nodejs and npm and reinstalled again.
Now works fine!!
1 Like