Compiling errors during npm start


#1

https://www.codecademy.com/programs/d8a267a92c1ab35ac170bcfafc17800f/items/54c92cb96ccd75f82d11041e9bd67cf4

After I ran npm start, I get a few errors like this:

./node_modules/object-assign/index.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:

  • C:\My computer’s file path\node_modules\object-assign\index.js
    Used by 2 module(s), i. e.
    C:\My computer’s file path\node_modules\react\cjs\react.development.js
  • C:\My computer’s file path\node_modules\object-assign\index.js
    Used by 1 module(s), i. e.
    C:\My computer’s file path\node_modules_react-scripts\config\polyfills.js

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

I’m not sure which keyword to search for and which line to add the //eslint-disable-next-line comment to, can you advice? thanks!


#2

I turned it off and on again and now it compiled successfully…


#3

In case anyone else gets the same problem:


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.