亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

我想問一下這個問題怎么解決,謝謝!

我想問一下這個問題怎么解決,謝謝!

慕碼人1183263 2017-04-25 11:15:21
在webstorm中,我編譯沒有成功,想問下這大概是什么原因/opt/local/node/bin/node /opt/local/node/lib/node_modules/npm/bin/npm-cli.js run devnpm WARN lifecycle npm is using /opt/local/node/bin/node but there is no node binary in the current PATH. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.> [email protected] dev /home/hldev/hldata/frontend/credit-system-frontend> webpack --watch --progress --colors --display-error-details --config webpack/dev.config.js/usr/bin/env: "node": 沒有那個文件或目錄npm ERR! Linux 4.4.0-72-genericnpm ERR! argv "/opt/local/node/bin/node" "/opt/local/node/lib/node_modules/npm/bin/npm-cli.js" "run" "dev"npm ERR! node v7.7.4npm ERR! npm ?v4.1.2npm ERR! file shnpm ERR! code ELIFECYCLEnpm ERR! errno ENOENTnpm ERR! syscall spawnnpm ERR! [email protected] dev: `webpack --watch --progress --colors --display-error-details --config webpack/dev.config.js`npm ERR! spawn ENOENTnpm ERR! npm ERR! Failed at the [email protected] dev script 'webpack --watch --progress --colors --display-error-details --config webpack/dev.config.js'.npm ERR! Make sure you have the latest version of node.js and npm installed.npm ERR! If you do, this is most likely a problem with the credit-system-frontend package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR! ? ? webpack --watch --progress --colors --display-error-details --config webpack/dev.config.jsnpm ERR! You can get information on how to open an issue for this project with:npm ERR! ? ? npm bugs credit-system-frontendnpm ERR! Or if that isn't available, you can get their info via:npm ERR! ? ? npm owner ls credit-system-frontendnpm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:npm ERR! ? ? /home/hldev/hldata/frontend/credit-system-frontend/npm-debug.logProcess finished with exit code 1
查看完整描述

2 回答

?
愿一切安好1

TA貢獻1條經驗 獲得超0個贊

$?npm?config?set?scripts-prepend-node-path?true


查看完整回答
反對 回復 2018-04-27
?
feno

TA貢獻4條經驗 獲得超0個贊

沒有找到可執行的node

查看完整回答
反對 回復 2017-04-25
  • 2 回答
  • 0 關注
  • 7967 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號