小编use*_*350的帖子

在Windows上使用NPM安装PhantomJS 2失败

我正在尝试为需要支持变异观察者的项目安装PhantomJS 2.当我使用以下命令时:

npm install phantomjs2 --save-dev
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

Unexpected platform or architecture: win32 x64
npm ERR! phantomjs2@2.0.0 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the phantomjs2@2.0.0 install script.
npm ERR! This is most likely a problem with the phantomjs2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls …
Run Code Online (Sandbox Code Playgroud)

windows npm phantomjs

7
推荐指数
1
解决办法
4335
查看次数

标签 统计

npm ×1

phantomjs ×1

windows ×1