简体   繁体   English

错误:ENOENT:没有这样的文件或目录,stat '/home/arpit/.steampath'

[英]Error: ENOENT: no such file or directory, stat '/home/arpit/.steampath'

I get [Error: ENOENT: no such file or directory, stat '/home/arpit/.steampath'] error when I try to run npm start .当我尝试运行npm start时,我得到 [Error: ENOENT: no such file or directory, stat '/home/arpit/.steampath'] 错误。 I have tried removing node modules and Re-installing them, I have also reinstalled NPM but this error is not going away.我试过删除节点模块并重新安装它们,我也重新安装了 NPM 但这个错误并没有消失。 I am in the right location in my terminal.我在终端的正确位置。 I am using Linux operating system.我正在使用 Linux 操作系统。 the full error is完整的错误是

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'
}

Try to redirect the npm output to see the actual error:尝试重定向npm output 看看实际错误:

npm run start 2>&1 | tee /tmp/output

Seems to be a bug on facebook/creat-react-app .似乎是facebook/creat-react-app上的错误。 Check also this and this issue.还要检查这个这个问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:ENOENT:没有这样的文件或目录,stat ... .steampath - Error: ENOENT: no such file or directory, stat ... .steampath 错误:ENOENT:没有这样的文件或目录,统计 - Error: ENOENT: no such file or directory, stat UnhandledPromiseRejectionWarning:错误:ENOENT:没有这样的文件或目录,stat'/assets/level.png' - UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, stat '/assets/level.png' 错误:Enoent:没有这样的文件或目录,状态为'D:\\ awesome-testindex.html' - Error :Enoent :no such file or directory ,stat 'D:\awesome-testindex.html' 错误:ENOENT:没有这样的文件或目录,stat Laravel mix bug - Error: ENOENT: no such file or directory, stat Laravel mix bug 错误:ENOENT:没有这样的文件或目录 - Error: ENOENT: no such file or directory 当我导入 BrowserRouter 时,在 reactJS 中遇到此错误“错误:ENOENT:没有此类文件或目录,stat '/initrd.img'” - Encountering this error "Error: ENOENT: no such file or directory, stat '/initrd.img'" in reactJS when i import BrowserRouter 错误:ENOENT:没有这样的文件或目录,错误时统计“/public/main.html”(本机) - Error: ENOENT: no such file or directory, stat '/public/main.html' at Error (native) 服务器给出错误:ENOENT:没有这样的文件或目录,stat 'F:\\web development\\calculator\\index.html' - server is giving Error: ENOENT: no such file or directory, stat 'F:\web development\calculator \index.html ' HEROKU 错误:ENOENT:没有这样的文件或目录,stat '/app/distpublic/index.html' - HEROKU Error: ENOENT: no such file or directory, stat '/app/distpublic/index.html'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM