错误:
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/