1

I am using ubuntu 15.10

ionic version 1.7.15.

I was trying to update my nodejs to laters version 6 and npm and after that when i run ionic server command i am getting error shown in img

the command i used to update

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

how to to downgrade my nodejs

when i use whereis node command

node: /usr/local/bin/node /opt/node/bin/node

when i use whereis nodejs command

nodejs:

when i use whereis npm command

npm: /usr/local/bin/npm /opt/node/bin/npm

I think i have to use lower version of node but i dont know how to do is i have tried my cmd but no use

5
  • ENOSPC suggests that your filesystem might be full. Commented Jun 23, 2016 at 11:31
  • @robertklep what is the solution now what i should do now Commented Jun 23, 2016 at 11:56
  • how do i make one and where should i make a directory Commented Jun 23, 2016 at 11:57
  • i think if i use lower node version i will be able to work with ionic because after upgarding node to version6 i'm facing this error Commented Jun 23, 2016 at 11:59
  • @robertklep github.com/driftyco/ionic/issues/6340 look here and i tried but no use Commented Jun 23, 2016 at 12:00

1 Answer 1

1

I solved this issue by mention the version of node

sudo npm cache clean -f
sudo npm install -g n
sudo n v4.2.3 //By mentioning the version while i install i solved this error on serve

i switched my node version from v6 to v4 so then i got no error

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.