Can't able to install ionic - Ubuntu

HI, I am trying to install ionic latest in my ubuntu machine; but i could not able to do. I’m sharing a screen snap of that issue. Also, I can’t understand why it’s happening in this machine only. I had already installed npm, node, cordova successfully. This issue is coming during installation of ionic only.
node -v : v10.6.0 npm -v : 6.1.0
$ cordova -v : 7.1.0

I’m stuck. Please Have a look and suggest any solution. Thanks in Advance!

Just try!

npm install -g ionic

After in your terminal: ionic info

:slight_smile:

1 Like

Install (and use) nvm before doing anything else.

1 Like

Finally, I got the solution. There was user dependency problem. I had logged in via root user (sudo -i), then i did all the installation smoothly in my ubuntu machine.

sudo -i
npm install -g ionic

:slight_smile: