首页 > 解决方案 > 指纹JS2生命周期错误

问题描述

我已经下载了指纹JS2,并且正在尝试运行 npm 测试。我不断收到一个我根本无法弄清楚的错误。请看下文。我们有 PhantomJS,但不知道为什么它会出现生命周期错误。希望对此有任何反馈。先感谢您!

'specs' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! fingerprintjs2@1.8.1 test: `specs/phantomjs.runner.sh specs/spec_runner.html`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fingerprintjs2@1.8.1 test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\J\AppData\Roaming\npm-cache\_logs\2018-08-05T20_37_32_524Z-debug.log
The terminal process terminated with exit code: 1

标签: node.jsnpmfingerprintjs2

解决方案


推荐阅读