[eslint] Plugin "react" was conflicted between "package.json » eslint-config-react-app »
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 11.8k
- 分支
- 7.9k
- 平均合併
- 1 天 11 小時
- 30 天內合併 PR
- 11
描述
[eslint] Plugin "react" was conflicted between "package.json » eslint-config-react-app » C:\Users\xxx\desktop\xxx\xxx\node_modules\eslint-config-react-app\base.js" and "BaseConfig » C:\Users\xxx\desktop\xxx\xxx\node_modules\eslint-config-react-app\base.js".
Ran into this error while in class today coding with Zero To Mastery. Creating React
After looking for solutions I still was unable to get react to start or build.
I was determined and ended up checking the eslist folder, then opened the package.json code is VS
I noticed that:
files": [
"LICENSE",
"README.md",
"bin",
"conf",
"lib",
"messages"
was simply missing the "node_modules" folder. Problem solved. All it took was some
hands on time with the goal of figuring out what was going on. Please share,
files": [
"LICENSE",
"README.md",
"bin",
"conf",
"lib",
"node_modules"
"messages"
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先從回報的 package.json 項目和 eslint-config-react-app/base.js 路徑開始,然後在啟動或建置 React 專案時重現衝突。確認此儲存庫是否能重現該錯誤,並找出一項具體的預期變更;目前此 issue 未提供任何儲存庫檔案、測試或驗收標準。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, react
- 領域
- build-system, tooling
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100