插件中的错误“ React; quot”在“ package.json» Eslint-Config-react-App
我在Oracle Linux 7上创建了一个.NET Core React项目。在我从Web访问应用程序时,在安装了所有必要的依赖项后,我遇到了以下错误。
插件中的错误在“ package.json.json»eSlint-config-reAct-app»/home/opc/amnathrig/node_modules/eslint-config-react-react-app/base.js”和“ baseconfig»baseconfig» /USR/lib/node_modules/reaeact-scripts/node_modules/eslint-config-react-app-app/base.js'。
错误消息很明确,但我不知道该如何解决。
I created a .NET Core React project on Oracle Linux 7. After installing all the necessary dependencies I ran into the following error in the console when I access the app from the web.
ERROR in Plugin "react" was conflicted between "package.json » eslint-config-react-app » /home/opc/amnathrig/node_modules/eslint-config-react-app/base.js" and "BaseConfig » /usr/lib/node_modules/react-scripts/node_modules/eslint-config-react-app/base.js".
The error message is clear but I have no idea how to get around it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我正在将软件包安装到主要应用程序目录而不是客户端文件夹。我考虑过删除这个问题,但是如果有人遇到这个问题,这可能是原因。
I was installing packages to the main application directory instead of the ClientApp folder. I thought about deleting the question but in the event someone else runs into this problem, this may be the cause.
请使用
npm Update -G
其中g
是全局。please use
npm update -g
whereg
is global.