-
-
Notifications
You must be signed in to change notification settings - Fork 496
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
[Bug]Error: Cannot find module './node_modules/react-scripts/config/webpack.config.dev' with react-script v2.1.2 #61
Comments
The way CRA organizes webpack configs seems to have changed with this commit: facebook/create-react-app@30ee52c#diff-ee7ca784a2ec9d96668503d6394bdd62 |
+1 |
2 similar comments
+1 |
+1 |
+1 👎 |
+1 |
Referencing the issue that introduced this problem: facebook/create-react-app#5722 |
+1 |
Still not upgraded |
@patricklafrance, please merge @hckhanh's solution |
windows => Error: Cannot find module 'E:\react-start\node_modules\react-scripts/config/webpack.config.dev' ???????????????? switch to https://github.com/rescripts/rescripts |
Why did you switch ? Isn't this already fixed with #6 ? What's the benefits of changing again (I was react rewire user just before using craco two weeks ago) |
Sorry I meant DocSpring/craco-less#6 , I guessed that from the title. |
Seems like |
No, why should you ? This project is not based on react-app-rewired and this issue is still there. |
+1 |
Where is @patricklafrance? 😑 |
I can tell not here and I just hop nothing bad for him. Did/may someone release the #62 under a scoped name? |
I wrote this fix and it's working perfectly have a look |
Hi, you are rescripts author? I am sorry to say that but we had to give up craco for react-app-rewired. They support the latest version. We also found that editing |
@kopax While I understand the need for you to move for |
@kopax plz don't close. |
"Giving up" – is not a good reputation for the https://sharegate.com/ team. I think current users of
|
FWIW, I opened #67 to keep this issue visible for the maintainer and future readers |
so will we be continuing to close and re-open this issue multiple times just to encourage others to create multiple duplicates of the same issue to spam the maintainers? |
Hi, Sorry for the delay, I had an accident and couldn't use a computer for a few weeks. I'll make sure #62 is merged and release soon. |
Fix with https://www.npmjs.com/package/@craco/craco/v/3.3.1 Sorry for the very long delay. |
@patricklafrance thanks. |
See dilanx/craco#61. Updating to craco 3.3.1 resolves error when trying to install dependencies and build: ``` Error: Cannot find module '~/code/src/paritytech/fether/node_modules/react-scripts/config/webpack.config.dev' ```
Cannot find webpack config with
react-scripts
2.1.2
I have updated my
react-scripts
dependencies from2.1.1
to2.1.2
and got the following error on bothnpm start
andnpm run build
:Expect
to start or build my unjected create-react-app.
Result
Can't find the configuration
react-scripts/config/webpack.config.dev
Seems obvious: https://github.com/facebook/create-react-app/tree/v2.1.2/packages/react-scripts/config
Version
The text was updated successfully, but these errors were encountered: