node.js - React-Native 'ENOENT:没有这样的文件或目录,打开 'C:\users\lhlin\package.json''
问题描述
这是第一次尝试使用 expo 使用 React Native,并且出现了此消息
PS C:\users\lhlin> npm start
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\users\lhlin\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\users\lhlin\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\lhlin\AppData\Roaming\npm-cache\_logs\2021-06-19T06_10_39_141Z-debug.log
我不知道出了什么问题。请帮忙。
解决方案
推荐阅读
- xaml - 如何防止 OnToggled 处理程序在视图单元格中触发?
- git - Git在独立分支之间切换
- javascript - 选择另一张幻灯片后如何暂停视频(Slick.js 和 VideoJS)
- python - Python脚本不会下载带有附件的HTML电子邮件
- tkinter - pyinstaller的exe无法生成图像pydotplus(graphviz)windows10
- security - 我可以安全地使用带有 curl 的免费代理吗
- windows - 在全屏模式下运行 Qt 应用程序时出现“黑屏”问题
- python - 前馈神经网络的超参数调整和过拟合 - 小批量时代和交叉验证
- java - SimpleMatrix getMatrix().getData() 问题
- teradata - 检查以前的记录以获取特定值