npm run dev 报错:fatal - Error: Parse config file failed: [/Users/xxx/Desktop/projects/xxx/.umirc.ts] #11093
-
运行npm run dev的时候报错:
.umirc.ts配置文件如下:
|
Beta Was this translation helpful? Give feedback.
Answered by
liaodalin19903
May 6, 2023
Replies: 2 comments
-
已解决,清除npm缓存,删除node_modules,使用cnpm重新安装即可。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
liaodalin19903
-
I keep encountering this error almost daily, and having to clear the npm cache, delete node_modules, and reinstall everything is getting really frustrating—and it doesn't always work. Is there a more permanent solution or something else I could try to prevent this from happening so frequently? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
已解决,清除npm缓存,删除node_modules,使用cnpm重新安装即可。