我有test
目录和package.json
文件:
{
"name": "test",
"version": "0.0.1",
"dependencies": {
"hem": "~0.1.6",
}
}
当我尝试执行时,node install
出现以下错误:
module.js:337
throw new Error("Cannot find module '" + request + "'");
^
Error: Cannot find module '/home/shk/test/install'
at Function._resolveFilename (module.js:337:11)
at Function._load (module.js:279:25)
at Array.0 (module.js:484:10)
at EventEmitter._tickCallback (node.js:190:38)
为什么?
谢谢你。