【发布时间】:2022-06-23 18:58:10
【问题描述】:
Failed to compile.
./node_modules/vm2/lib/resolver-compat.js
Module not found: Can't resolve 'async_hooks' in \node_modules\vm2\lib'
Error from chokidar (E:\node_modules): Error: EBUSY: resource busy or locked, lstat 'E:\pagefile.sys'
Error from chokidar (E:\node_modules): Error: EBUSY: resource busy or locked, lstat 'E:\pagefile.sys'
当我尝试运行我的应用程序(react)时,突然出现了这个错误,甚至重新安装节点模块也不起作用,我也尝试重新安装节点和 webpack,但都没有成功。
【问题讨论】:
-
安装 npm install async_hooks
-
我做了,但仍然遇到同样的错误
-
你能把你的代码贴在这里吗?
-
项目很大,有需要我可以上传到github上。
-
那作为参考比较好。