Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack error #618

Open
urbanvas opened this issue Apr 18, 2019 · 1 comment
Open

webpack error #618

urbanvas opened this issue Apr 18, 2019 · 1 comment

Comments

@urbanvas
Copy link

getting errors due to webpack config

There might be a problem with the project dependency tree.
It is likely not a bug in Create React App, but something you need to fix locally.

The react-scripts package provided by Create React App requires a dependency:

"webpack": "4.28.3"

Don't try to install it manually: your package manager does it automatically.
However, a different version of webpack was detected higher up in the tree:

/Users/$$$/$$$$/react-forms-lab-v-000/node_modules/webpack (version: 3.12.0)

Manually installing incompatible versions is known to cause hard-to-debug issues.

If you would prefer to ignore this check, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That will permanently disable this message but you might encounter other issues.

@schanrai
Copy link

I am getting the same issues as well - I had to copy a whole other set of dependencies from another lab into the package.json to even get npm start to spin up a server for this lab so I could at least test my solution independently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants