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

npm install 安装依赖包时。报错 #1

Open
mymhj opened this issue Mar 21, 2018 · 5 comments
Open

npm install 安装依赖包时。报错 #1

mymhj opened this issue Mar 21, 2018 · 5 comments

Comments

@mymhj
Copy link

mymhj commented Mar 21, 2018

node-zopfli@2.0.2 install E:\exmple\react-antd-admin\react-antd-admin\node_modules\node-zopfli
node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(403): https://node-zopfli.s3.amazonaws.com/Release/zopfli-v2.0.2-node-v57-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for node-zopfli@2.0.2 and node@8.9.1 (node-v57 ABI, unknown) (falling back to source compile with node-gyp)

@mqyqingfeng
Copy link
Owner

@mymhj 看不出来是哪里出错了……我找了台新电脑,试了一下,也没有这种问题,试一试删掉 node_modules 文件夹,然后 sudo cnpm install 一下试试?

@kissbugs
Copy link

kissbugs commented Apr 8, 2018

有时候用npm install 是不行,我用了yarn install 安装启动,可以解决npm安装启动不了的问题,虽然两个都是包管理器,但不知道npm为啥安装启动不了

@answer518
Copy link

我这边也是npm install, 但是无法启动,用cnpm安装就好使,这是为什么呢?

@mqyqingfeng
Copy link
Owner

我觉得可能是 npm install 的速度慢,导致某些文件没有装上……

@ljh15191849190
Copy link

cnpm和npm都不可以,建议使用yarn,版本确实有点老了

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

5 participants