【发布时间】:2022-01-07 05:31:52
【问题描述】:
在使用 React native 和 expo 为身份验证应用设置环境时
这些是我运行的代码:
expo init firebaseauth
npm install @react-navigation/native
expo install react-native-screens react-native-safe-area-context
npm install @react-navigation/native-stack
但是在 VS 代码终端中运行 expo install firebase 时,它正在返回:
'node' is not recognized as an internal or external command,
operable program or batch file.
之后采取的行动:
- 安装了最新版本的 Node 和 NPM。
- 设置环境变量为
C:\Program Files\nodejs - 重新启动我的系统
在运行 expo install firebase 时仍然在 VS 代码终端中返回相同的错误
'node' is not recognized as an internal or external command,
operable program or batch file.
【问题讨论】:
标签: node.js firebase react-native expo