Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/36.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js ionic安装问题windows_Node.js_Cordova_Ionic Framework_Npm - Fatal编程技术网

Node.js ionic安装问题windows

Node.js ionic安装问题windows,node.js,cordova,ionic-framework,npm,Node.js,Cordova,Ionic Framework,Npm,你好,我正在尝试在我的windows计算机上安装ionic,我已经安装了nodejs和cordova,但是当我使用命令npm install-g ionic C:\Windows\system32>npm install -g ionic npm ERR! addLocal Could not install C:\Windows\system32\-g npm ERR! Windows_NT 6.3.9600 npm ERR! argv "C:\\nodejs\\node.exe"

你好,我正在尝试在我的windows计算机上安装ionic,我已经安装了
nodejs
cordova
,但是当我使用命令
npm install-g ionic

C:\Windows\system32>npm install -g ionic
npm ERR! addLocal Could not install C:\Windows\system32\-g
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\nodejs\\node.exe"       
"C:\\Users\\Alejandro\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "ionic"
npm ERR! node v4.2.3
npm ERR! npm  v3.5.1
npm ERR! path C:\Windows\system32\-g
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open 'C:\Windows\system32\-g'

npm ERR! enoent ENOENT: no such file or directory, open   'C:\Windows\system32\-g'

npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Windows\system32\npm-debug.log

C:\Windows\system32>

尝试在系统目录以外的其他目录中执行操作,
Windows\system32
是一个非常难做的事情。我认为您的环境设置有问题。你可以查看安卓项目@的完整安装指南。看看它是否对您有帮助。除了system dir之外,在不同的目录中可能重复尝试,
Windows\system32
有点麻烦。我认为您的环境设置有问题。你可以查看安卓项目@的完整安装指南。看看它是否对你有帮助。可能是