Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phantomjs 已经废弃需要升级 #5

Closed
loskael opened this issue Jan 29, 2017 · 3 comments
Closed

phantomjs 已经废弃需要升级 #5

loskael opened this issue Jan 29, 2017 · 3 comments

Comments

@loskael
Copy link

loskael commented Jan 29, 2017

参考 BetterJS/badjs-web#23

启动时报错:

/Users/kael/Github/betterjs/badjs-web/node_modules/node-highcharts-exporting/index.js:20
        throw err;
        ^
Error: Command failed: /Users/kael/Github/betterjs/badjs-web/node_modules/phantomjs/lib/phantom/bin/phantomjs /Users/kael/Github/betterjs/badjs-web/node_modules/node-highcharts-exporting/lib/highcharts-convert.js -host 127.0.0.1 -port 8787

    at ChildProcess.exithandler (child_process.js:206:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Socket.<anonymous> (internal/child_process.js:334:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:498:12)

环境说明:

node -v
v6.9.1

uname -a
Darwin bogon 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64

@caihuiji
Copy link
Owner

caihuiji commented Feb 5, 2017

fix

@caihuiji caihuiji closed this as completed Feb 5, 2017
@loskael
Copy link
Author

loskael commented Feb 14, 2017

按官方的建议,应该是升级为 phantomjs-prebuilt

DEPRECATED
Pre-2.0, this package was published to NPM as phantomjs. We changed the name to phantomjs-prebuilt at the request of PhantomJS team.
Please update your package references from phantomjs to phantomjs-prebuilt

@gebilaoman
Copy link

fix

怎么fix的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants