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

你好mac下npm install项目报错 #24

Open
JserJser opened this issue May 17, 2019 · 4 comments
Open

你好mac下npm install项目报错 #24

JserJser opened this issue May 17, 2019 · 4 comments

Comments

@JserJser
Copy link

npm ERR! code ERR_STREAM_DESTROYED
npm ERR! Cannot call write after a stream was destroyed
npm ERR! code ERR_STREAM_DESTROYED
npm ERR! Cannot call write after a stream was destroyed
npm ERR! code ERR_STREAM_DESTROYED
npm ERR! Cannot call write after a stream was destroyed
npm ERR! code ERR_STREAM_DESTROYED
npm ERR! Cannot call write after a stream was destroyed
npm ERR! code ERR_STREAM_DESTROYED
npm ERR! Cannot call write after a stream was destroyed
npm ERR! code ERR_STREAM_DESTROYED
npm ERR! Cannot call write after a stream was destroyed
Unhandled rejection Error: ENOSPC: no space left on device, write

npm ERR! code ERR_STREAM_DESTROYED
npm ERR! Cannot call write after a stream was destroyed
Unhandled rejection Error: ENOSPC: no space left on device, write

Unhandled rejection Error: ENOSPC: no space left on device, write

npm WARN registry Unexpected warning for https://registry.npm.taobao.org/: Miscellaneous Warning ENOSPC: ENOSPC: no space left on device, write
npm WARN registry Using stale package data from https://registry.npm.taobao.org/ due to a request error during revalidation.
Unhandled rejection Error: ENOSPC: no space left on device, write

Unhandled rejection Error: ENOSPC: no space left on device, write

Unhandled rejection Error: ENOSPC: no space left on device, write

npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0

@loss99
Copy link

loss99 commented May 21, 2019

项目 没问题 我在我的电脑上运行成功了, macpro 10.14 Xcode10.2 , 按流程 用 yarn , 只是需要改几个路径 就 OK 了

@duheng
Copy link
Owner

duheng commented May 24, 2019

你可以加入淘宝镜像试试; yarn config set registry https://registry.npm.taobao.org --global
yarn config set disturl https://npm.taobao.org/dist --global

@duheng
Copy link
Owner

duheng commented May 24, 2019

如果有部分电脑提示路径有问题,就把报错的路径改成相对路径;因为我配置了alias,可能有的电脑支持不太好;可以搜babel-plugin-module-resolver相关的文章了解一下具体用法。

@webxiaohe
Copy link

我也遇到了这样的问题,多试几下,应该是网络问题。
除此之外,react-native-gesture-handler, react-native-vector-icons,jpush-react-native,也遇到了麻烦,我修改了版本
"react-native-gesture-handler": "1.3.0",
"react-native-vector-icons": "^6.5.0",
"jcore-react-native": "1.3.3",
"jpush-react-native": "2.5.3",
修改了routers/app utils 的路径,就能运行了

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

4 participants