简体   繁体   English

Ionic:错误产生“ C:\\ Program Files \\ nodejs \\ node.exe”

[英]Ionic:error spawn “C:\Program Files\nodejs\node.exe” ENOENT

在notifyerror(C:\\ Users \\ myusrname \\ appdata \\ roaming \\ npm \\ nodr_modeules \\ ionic \\ cross-spawn \\ lib \\ enoent.js:11:11)在verifyENOENT(C:\\ Users \\ myusrname \\ appdata \\ roaming \\ npm \\在childprocess.cp.emit(C:\\ Users \\ myusrname \\ appdata \\ roaming \\ npm \\ nodr_modeules \\ ionic \\ cross-spawn \\ lib \\ enoent)上的nodr_modeules \\ ionic \\ cross-spawn \\ lib \\ enoent.js:46:16)。 js:33:19)在process.childprocess._handle.onexit(内部/child_process.js:198:12)

Please check if your directory is correct 请检查您的目录是否正确

For reference, this is my directory to ENOENT 供参考,这是我的ENOENT目录

AppData\\Roaming\\npm\\node_modules\\ionic\\node_modules\\cross-spawn\\lib AppData \\ Roaming \\ npm \\ node_modules \\ ionic \\ node_modules \\ cross-spawn \\ lib

I'm not sure but somehow I got it working,I tried it by- 我不确定,但是以某种方式使它正常工作,我尝试过-

1.clearing cache of chrome. 1.清除铬的缓存。 2.installing node v8.9.4 3.clearing systems temp files. 2.安装节点v8.9.4 3.清除系统临时文件。 Ionic v3.20 (latest till date). Ionic v3.20(最新日期)。

Please review upon my opinion or lemme know the perfect thing that got it working,as I had seen many people getting stuck in the same error. 请回顾一下我的观点或观点,了解使它正常运行的完美之处,因为我已经看到许多人陷入同一错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM