微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

无法识别节点并且 npm start 总是失败

如何解决无法识别节点并且 npm start 总是失败

当我写 start npm 时,输出是这样的:

> @ start C:\Users\ADMIN\rn-starter
> expo start

'"node"' is not recognized as an internal or external command,operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 9009
npm ERR! @ start: `expo start`
npm ERR! Exit status 9009
npm ERR!
npm ERR! Failed at the @ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\ADMIN\AppData\Roaming\npm-cache\_logs\2021-02-09T01_36_01_830Z-debug.log

我已经为 git、node.js 和 npm 设置了环境,但不知道问题究竟出在哪里。我已经重新启动并重新下载 node.js 但仍然无法为此工作。请帮我在 git 上启动 npm

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。