执行 mocha npm test 时出现以下问题
'make' 不是内部或外部命令、可运行程序或批处理文件。npm 错误!奇怪的错误 1 npm ERR!不好的代码 0
makefile:
test:
./node_modules/.bin/mocha \
--reporter list
.PHONY: test
package.json
{
"name": "application-name",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node app.js",
"test": "make test"
},
"dependencies": {
"express": "3.3.4",
"jade": "*",
"mongoose": ">= 2.6.5",
"nodemailer": "0.3.20",
"connect": ">= 1.9.1",
"socket.io": "~0.9",
"cookie": "0.0.4",
"kue" : "*",
"async" : "*",
"mocha": "*",
"should" : "*",
"winston" : "*"
}
}