npm脚本:什么是$

时间:2017-05-19 01:10:35

标签: node.js npm

我是NPM的新手,并继承了一个具有以下行的项目

"compile:clean": "$(cd ..; npm bin)/rimraf lib",

这在mac和ubuntu上运行正常,但在我运行时在Windows上运行

npm run compile

我收到以下错误

Error: Command failed: npm run compile
'$' is not recognized as an internal or external command,
operable program or batch file.

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "compile:clean"
npm ERR! node v6.10.2
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

什么是$或我需要在Windows上安装哪些软件包来识别$

0 个答案:

没有答案