-
Notifications
You must be signed in to change notification settings - Fork 429
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
can't find webpack.config.dev #345
Comments
I have this problem too... |
P.S. yarn warned |
把 react-scripts 包版本降低 |
@SagaciousLittle |
same to me |
This is the problem with react-scripts 2.1.2, which happened four days ago. This is the quickest way to solve the problem: $ yarn add [email protected] or $ npm install [email protected] --save |
Thanks, it is a Version issue |
thanks |
I used
|
I try |
I built a new application with the create-react-app scaffolding. I want to use react-app-rewired in my project, but when I execute react-app-rewired start, I reported the following error. Where is the problem please?
Problem:
Cannot find module 'myprojectpath\node_modules\react-scripts/config/webpack.config.dev'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
at Function.Module._load (internal/modules/cjs/loader.js:529:25)
at Module.require (internal/modules/cjs/loader.js:657:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (myprojectpath\node_modules\react-app-rewired\scripts\start.js:9:23)
at Module._compile (internal/modules/cjs/loader.js:721:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:732:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
error Command failed with exit code 1.
The text was updated successfully, but these errors were encountered: