我正在尝试为需要支持变异观察者的项目安装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)