내 응용 프로그램의 루트 폴더에서 테스트를 실행했습니다. 테스트는 spec 디렉토리 내에 있습니다. 내가 서약을 포함한 종속 모듈을 설치하고 내 node_modules/디렉토리에 존재하는 한되도록 설치 NPM했을맹세 : 명령을 찾을 수 없습니다.
{
"author": "Sunil Kumar <[email protected]>",
"name": "subscription-engine-processor",
"description": "Node.js server for Subscription Engine processor application.",
"version": "0.0.0",
"scripts": {
"start": "node index.js"
},
"repository": {
"type": "git",
"url": ""
},
"main": "./index",
"engines": {
"node": "~0.6.6"
},
"dependencies": {
"buffers": "0.1.1",
"redis": "0.7.1"
},
"devDependencies": {
"vows": "0.6.x"
}
}
을 다음과 같이
$ vows
No command 'vows' found, did you mean:
Command 'vos' from package 'openafs-client' (universe)
Command 'voms' from package 'voms-server' (universe)
vows: command not found
내 package.json이다.
문제가 될 수있는 사람을 도와주세요.
전 세계적으로 설치 sudo는 NPM -g 설치 NPM HTTP GET은 https :/
다음해야 할 것 /registry.npmjs.org/redis/0.7.1 npm http GET https://registry.npmjs.org/buffers/0.1.1 npm http 304 https://registry.npmjs.org/redis/0.7.1 npm http 304 https://registry.npmjs.org/buffers/0.1.1 subscription- [email protected]/usr/local/lib/node_modules/subscription-engine-processor ├── [email protected] └── [email protected]는 종속성이 설치되어 있지만 한 발달과 관련된 것들, 즉 서원. – Sunil
설치 전에'sudo npm config set dev true '를 시도하십시오. – qiao
전역 모듈을 포함하도록 특정 실행 파일이 있습니까? npm은 모듈이 설치되지 않았다는 불만을 시작합니다. 이 모듈이 설치된 위치를 알려주시겠습니까? – Sunil