Ionic command not working


#1

whene update cli from 3.3 to 3.4 i have many error. ionic old version is very very better than new version.

look how im working

step 1:
ionic start myApp tabs

:heart_eyes: this is worked.

step 2:
ionic info

thats greate. :kissing_heart:

step 3:
ionic cordova plugin add cordova-plugin-camera

ooooopps not worked. then i try
ionic serve

show me below error

then i search in internet to find solution and try below
1- npm install.
2- delete node_modules then npm install
3- npm cache clean --force


#2

How did you update Ionic CLI?
What is your ionic info output?
What errors did you get in step 3?


#3

try…

ionic plugin add cordova-plugin-camera


#4

for example when i run ionic info tell me update available do you want update? and i accept it.

erro in step 3

Attention :
any time error is different
1- ionic-angular
2- ionic-icons
…


#5

Some program is blocking your node_modules folder.

Are you running VSCode 1.13? That had a bug that blocked the node_modules folder, update to 1.14 or close it while doing npm stuff. Anything else running that could be blocking your node_modules?


#6

thank you . i find solution when i want install plugin i must exist from ionic serve and close anything because node.module run by nodejs