启动React应用程序时,关于Babel-Loader的循环错误
当我运行YARN DEV
时,我会得到错误:
找不到输入模块中的错误:错误:无法解决...
中的“ babel-loader”
sust 此答案,我将Balel加载程序手动安装为DEV依赖性。但是当我运行YARN DEV
时,我得到了:
我遍历这4个步骤,然后运行Yarn dev
,我得到了再次错误。
有人知道发生了什么吗?为什么不会将Babel-Loader自动安装为依赖性? (我检查了/node_modules
,但不存在。)
非常感谢。
When I run yarn dev
I get the error that:
ERROR in Entry module not found: Error: Can't resolve 'babel-loader' in...
Following this answer, I manually installed balel loader as a dev dependency. But then when I run yarn dev
I get this:
I go through those 4 steps, then run yarn dev
again, and I get the first error again.
Anyone know what's going? Why isn't babel-loader being auto-installed as a dependency? (I checked in /node_modules
and it's not there.)
Thanks very much in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论