javascript - 选择模板时出现 Expo 错误 : Could not get npm url for package

标签 javascript react-native ubuntu expo linux-mint

错误:

Laptop:~/Documents/react$ expo init PasswordManager
✔ Choose a template: › blank               a minimal app as clean as an empty canvas
✖ Something went wrong while downloading and extracting the template.
Could not get npm url for package "expo-template-blank"
我正在尝试在我的 Linux Mint 中设置 React Native。我尝试使用 sudo expo init PasswordManager但它是一样的,我试着做 sudo npm config set registry https://registry.npmjs.org/npm install expo-template-blank节点版本:v16.14.0
编辑:我尝试重新安装 expo 但没有改变

最佳答案

就我而言,Node 是使用 Ubuntu 软件安装的
我已使用 node js respo 重新安装对于Ubuntu。
所以它开始工作

关于javascript - 选择模板时出现 Expo 错误 : Could not get npm url for package,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71183795/

相关文章:

Qt 多媒体 : cannot find -lpulse

javascript - 如何在 Angular 上使用 Ajax

javascript - 如何获取 TouchSwipe 事件目标

react-native - 不变违规 : Element type is invalid: expected a string (for built-in components) or a class/function but got: undefined

react-native - react native 雪碧表

gcc - "Hidden symbol ` atexit ' is referenced by DSO"将 libtool 与 gcov 一起使用时

javascript - jQuery $(document).off() 在 Chrome 扩展中不起作用

javascript - 在帮助程序之外未定义的客户端上获取 meteor

javascript - React Native - 连字符

python - 什么是 --use-feature=2020-resolver?在 ubuntu 上安装 jupyter 的错误消息