更新时间:2023-01-03 13:53:38
我想这个答案有点迟了.
I guess this answer is a tad late.
您的问题是vscode在您的react-native的PATH引用上找不到.
Your problem is that vscode could not find on your PATH references of react-native.
如果您是使用npm安装的,请尝试以下操作:
If you installed it using npm try the following:
npm install react-native --global
npm install react-native --global
这应该将其安装在您的路径中.重新启动vscode,您应该一切顺利.
This should install it in your path. Restart vscode and you should be good to go.