-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
你好,我在京东上购买了 Angular书,里面介绍了你们使用的前端自动化工具,我准备安装使用,但是在执行./install 时遇到下面的问题:
我的node版本 :v5.10.1
Done. Phantomjs binary available at /Users/wangwenjie/Documents/mywork/git/angularjs/code-front-jet/node_modules/.npminstall/phantomjs-prebuilt/2.1.7/phantomjs-prebuilt/lib/phantom/bin/phantomjs
[phantomjs-prebuilt@2.1.7] scripts.install success, use 1s
[dtrace-provider@0.6.0] scripts.install: "node scripts/install.js" at ./node_modules/.npminstall/dtrace-provider/0.6.0/dtrace-provider
path.js:7
throw new TypeError('Path must be a string. Received ' + inspect(path));
^
TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.join (path.js:1213:7)
at Object.<anonymous> (/Users/wangwenjie/Documents/mywork/git/angularjs/code-front-jet/node_modules/.npminstall/dtrace-provider/0.6.0/dtrace-provider/scripts/install.js:19:20)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
at startup (node.js:146:18)
at node.js:404:3
[Error: Run "sh -c node scripts/install.js" error, exit code 1
at ChildProcess.<anonymous> (/usr/local/lib/node_modules/cnpm/node_modules/runscript/index.js:67:21)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)@%s] optional error: %s
peerDependencies WARNING [karma-jasmine@0.3.8] in /Users/wangwenjie/Documents/mywork/git/angularjs/code-front-jet/node_modules/.npminstall/karma-jasmine/0.3.8/karma-jasmine requires a peer of jasmine-core@* but none was installed期待回复,谢谢~
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels