Cannot run ionic. receives “No command 'ionic' found”

前端 未结 13 1436
灰色年华
灰色年华 2020-12-14 08:11

I want to start using the ionic framework, but unfortunately I\'m already failing on the first step.

I am running Ubuntu 13.04 and I have node v0.10.25 installed. I\

13条回答
  •  星月不相逢
    2020-12-14 08:40

    you can change temporary : npm config set prefix C:\Users[username]\AppData\Roaming\npm\node_modules2

    • change the Path in Environment Variables set C:\Users[username]\AppData\Roaming\npm\node_modules2

    • Run your command to install your package .

    • open file explorer copy the link C:\Users[username]\AppData\Roaming\npm\node_modules

      ok file yourpackage.CMD created another folder Created "node_modules2" in node_modules and contain your package folder.

    • copy your package file CMD to parent folder "npm"

    • copy your package folder to parent folder "node_modules"

    • now run npm config set prefix C:\Users[username]\AppData\Roaming\npm

    • change the Path in Environment Variables set C:\Users[username]\AppData\Roaming\npm

    • now package working correctly with Command line

    => this method working with me When npm block in installation Package for IONIC installation and ReactNative and another package npm.

提交回复
热议问题