我从我的应用程序的根文件夹运行了我的测试。测试位于spec目录中。Vows:command not found
$ 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如下
{
"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"
}
}
我已经做了NPM安装,这样的依赖模块,包括誓言已安装并出现在我的node_modules /目录。
任何人都可以帮我解决什么问题?
试图在全球范围安装 须藤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 2012-01-04 08:30:19
安装前尝试'sudo npm config set dev true'。 – qiao 2012-01-04 08:38:05
是否有任何具体的运行此以包含全局模块? npm开始抱怨关于未安装的模块。你能否也请告诉我们这些模块安装在哪里? – Sunil 2012-01-04 09:04:42