作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我尝试运行 npm start
时,出现 [Error: ENOENT: no such file or directory, stat '/home/arpit/.steampath'] 错误。我尝试删除 Node 模块并重新安装它们,我还重新安装了 NPM,但此错误并没有消失。我在终端机的正确位置。我正在使用 Linux 操作系统。完整的错误是
Compiling...
/home/arpit/Desktop/Coding/API-Practice/frontend/node_modules/react-scripts/scripts/start.js:19
throw err;
^
[Error: ENOENT: no such file or directory, stat '/home/arpit/.steampath'] {
errno: -2,
code: 'ENOENT',
syscall: 'stat',
path: '/home/arpit/.steampath'
}
最佳答案
尝试重定向 npm 输出以查看实际错误:
npm run start 2>&1 | tee /tmp/output
关于javascript - 错误 : ENOENT: no such file or directory, 状态 '/home/arpit/.steampath',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66562675/
当我尝试运行 npm start 时,出现 [Error: ENOENT: no such file or directory, stat '/home/arpit/.steampath'] 错误。我
我是一名优秀的程序员,十分优秀!