2

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" : "*"
  }
}
4

1 に答える 1