Npm Start 编译失败,无法查看我的作品

问题描述

   Compiling...
C:\Users\alanp\OneDrive\Desktop\School Projects\webpt23\unit3\build-week\front-end\front-end\node_modules\react-scripts\scripts\start.js:19
  throw err;
  ^

[Error: ENOENT: no such file or directory,stat 'C:\Users\All Users'] {
  errno: -4058,code: 'ENOENT',syscall: 'stat',path: 'C:\\Users\\All Users'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! front-end@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the front-end@0.1.0 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\alanp\AppData\Roaming\npm-cache\_logs\2021-03-03T03_28_06_107Z-debug.log

出于某种原因,这是我每次尝试 npm start 时得到的错误代码。我不明白为什么要尝试转到 C:\Users\All Users。我已经尝试删除 node_modules 和 package-lock.json。 npm 把它装回去了,同样的错误。尝试删除整个文件并重新克隆它,但相同。不过没有其他机器有这个问题。只是我的笔记本电脑。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...