React native expo cli install error:404 Not Found

编程入门 行业动态 更新时间:2024-10-09 15:14:35

React native <a href=https://www.elefans.com/category/jswz/34/1771137.html style=expo cli install error:404 Not Found"/>

React native expo cli install error:404 Not Found

当我尝试使用npm install -g expo-cli全局安装expo cli时发生以下错误,对此有谁可以帮助?

$ npm install -g expo-cli
npm WARN deprecated [email protected]: request has been deprecated, see 
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: request has been deprecated, see 
npm WARN deprecated [email protected]: The zlib module provides APIs for brotli compression/decompression starting with Node.js v10.16.0, please use it over iltorb
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/[email protected] (node_modules\expo-cli\node_modules\@expo\traveling-fastlane-darwin):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/[email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code E404
npm ERR! 404 Not Found - GET 
npm ERR! 404
npm ERR! 404  'error-ex@^1.3.1' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'parse-json'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Sanjeewa\AppData\Roaming\npm-cache\_logs\2020-02-12T09_09_52_890Z-debug.log


回答如下:

不是你的错。 https://registry.npmjs/error-ex对每个人都关闭或不再可用。

暂时安装此修复程序:

npm i https://github/Qix-/node-error-ex

更多推荐

React native expo cli install error:404 Not Found

本文发布于:2024-05-07 01:30:22,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1754061.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:expo   native   React   cli   error

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!