首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法使用expo安装expo-app-loading

无法使用expo安装expo-app-loading
EN

Stack Overflow用户
提问于 2021-08-19 11:36:17
回答 2查看 189关注 0票数 0

在运行expo install expo-app-loading时,我收到以下错误消息

代码语言:javascript
复制
396 verbose cwd C:\{path}
397 verbose Windows_NT 10.0.19042
398 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--save" "expo-app-loading"
399 verbose node v14.17.5
400 verbose npm  v6.14.14
401 error code ENOENT
402 error syscall rename
403 error path C:\{path}\node_modules\@expo\image-utils\node_modules\node-fetch
404 error dest C:\{path}\node_modules\@expo\image-utils\node_modules\.node-fetch.DELETE
405 error errno -4058
406 error enoent ENOENT: no such file or directory, rename 'C:\{path}\node_modules\@expo\image-utils\node_modules\node-fetch' -> 'C:\{path}\node_modules\@expo\image-utils\node_modules\.node-fetch.DELETE'
407 error enoent This is related to npm not being able to find a file.
408 verbose exit [ -4058, true ]

我也尝试了标准的npm安装,但也得到了相同的结论。我应该创建一个空白文件,还是需要安装必备文件?

EN

回答 2

Stack Overflow用户

发布于 2021-08-19 12:07:13

删除node-modules

mpn cache clean --force

npm install

expo install expo-app-loading

票数 0
EN

Stack Overflow用户

发布于 2021-08-19 15:32:36

尝试使用npm进行安装:

npm install expo-app-loading@1.1.2

或使用--save标志:

expo install expo-app-loading --save

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68847098

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档