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下载非常耗时 #46

Open
liaojunhao opened this issue Jun 26, 2019 · 1 comment
Open

phantomjs下载非常耗时 #46

liaojunhao opened this issue Jun 26, 2019 · 1 comment

Comments

@liaojunhao
Copy link

1)安装失败
Phantom installation failed Error: end of central directory record signature not found
at /usr/local/lib/node_modules/elf-cli/node_modules/extract-zip/node_modules/yauzl/index.js:167:14
at /usr/local/lib/node_modules/elf-cli/node_modules/extract-zip/node_modules/yauzl/index.js:473:5
at /usr/local/lib/node_modules/elf-cli/node_modules/extract-zip/node_modules/fd-slicer/index.js:32:7
at FSReqCallback.wrapper [as oncomplete] (fs.js:477:5) Error: end of central directory record signature not found
at /usr/local/lib/node_modules/elf-cli/node_modules/extract-zip/node_modules/yauzl/index.js:167:14
at /usr/local/lib/node_modules/elf-cli/node_modules/extract-zip/node_modules/yauzl/index.js:473:5
at /usr/local/lib/node_modules/elf-cli/node_modules/extract-zip/node_modules/fd-slicer/index.js:32:7
at FSReqCallback.wrapper [as oncomplete] (fs.js:477:5)

2)phantomjs
这个包很耗时看这个能不能优化一下?

@booxood
Copy link
Collaborator

booxood commented Jun 27, 2019

看错误估计是 phantomjs 下载没成功

因为依赖的库 postcss-sprites 里有 phantomjs,所以需要安装。

[email protected] /Users/liuchuwen/O2team/elf
└─┬ [email protected]
  └─┬ [email protected]
    └── [email protected]

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

2 participants