簡體   English   中英

Node.exe被刪除

[英]Node.exe being deleted

嘗試使用node.js時,我的Windows 7計算機遇到了一個非常奇怪的問題

時不時地,當我運行基於節點的命令(即npm, grunt, yo我得到一個Access is denied. 消息后,node.exe繼續刪除自身,不再是可識別的命令。

'node' is not recognized as an internal or external command, operable program or batch file.

有人遇到這個問題嗎? 上一次發生這種情況是當我嘗試在全球范圍內安裝yo時。 它崩潰了,然后node.exe從安裝目錄中消失了。 除了安裝失敗,錯誤/日志跟蹤似乎沒有顯示任何其他信息。

27389 error Windows_NT 6.1.7601
27390 error argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "yo" "-g"
27391 error node v0.12.7
27392 error npm  v2.11.3
27393 error code ELIFECYCLE
27394 error yo@1.4.8 postinstall: `yodoctor`
27394 error Exit status 1
27395 error Failed at the yo@1.4.8 postinstall script 'yodoctor'.
27395 error This is most likely a problem with the yo package,
27395 error not with npm itself.
27395 error Tell the author that this fails on your system:
27395 error     yodoctor
27395 error You can get their info via:
27395 error     npm owner ls yo
27395 error There is likely additional logging output above.

在Windows計算機上運行節點時,可能需要關閉防病毒軟件。 一些防病毒軟件將節點檢測為不安全程序。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM