Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Calculator

0

146
Views
Plugin "react" was conflicted between "package.json ..." and "BaseConfig ..."

React app running on on Microsoft edge

I open Terminal, on my react folder, i start react app with npm start, but the error always come on the browser.

Plugin "react" was conflicted between "package.json » eslint-config-react-app » D:\os\zenom\zenom-react\node_modules\eslint-config-react-app\base.js" and "BaseConfig » D:\OS\Zenom\zenom-react\node_modules\eslint-config-react-app\base.js".

7 months ago · Juan Pablo Isaza
1 answers
Answer question

0

You are running your project from an incorrect, non-canonically capitalized working directory path.

The canonical path is D:\OS\Zenom\zenom-react but your working directory is D:\os\zenom\zenom-react (note the lower-case letters).

The solution is to make sure your working directory is set to the canonical path (the same as displayed in Windows Explorer).

PowerShell:

PS D:\os\zenom\zenom-react> cd D:\OS\Zenom\zenom-react
PS D:\OS\Zenom\zenom-react> npm start

bash:

user@machine MINGW64 /d/os/zenom/zenom-react
$ cd /d/OS/Zenom/zenom-react

user@machine MINGW64 /d/OS/Zenom/zenom-react
$ npm start

Accessing files will still work using a different capitalization since Windows filesystems are usually1 case-insensitive, but the module loader doesn't see paths as equivalent if they have different capitalization (and some OS path manipulation methods will cause the canonical path to be returned), hence the error.

See this GitHub issue.


1: Can be configured.

7 months ago · Juan Pablo Isaza Report
Answer question
Find remote jobs