-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
It doesn't work #36
Comments
By default, Create React App uses an internally-defined configuration. One way to access this configuration in order to modify it is to eject. Alternate methods appear to be listed here: https://marmelab.com/blog/2021/07/22/cra-webpack-no-eject.html |
Thanks Richy but as I said on the first comment I used already react-app-rewired followed this tutorial as it suggests on the link that you provided. I have runned
I tried dozens of stack overflow links. With no success. Any help or better explanation about the steps how to achieve it would be super appreciated. |
I started a new app. wrote on the terminal
And agian the same problem:
Any suggestions would be appreciated, because I can't figure out what is wrong. |
I don't think that would work. Try ejecting within this new app. |
Followed the steps that are described on README but with no success. As seen on other tutorials I created
webpack.config.js
file on the root directory. Added the code lines to call the plugin as said on the README but still got the 23 errors. Also searched innode_modules/react-scripts/config/webpack.config.js
and added the piece of code from README. Searched formodule.exports
but it doesn't appear as it shows on many tutorials. It appears like:// This is the production and development configuration. // It is focused on developer experience, fast rebuilds, and a minimal bundle. module.exports = function (webpackEnv) { const isEnvDevelopment = webpackEnv === 'development'; const isEnvProduction = webpackEnv === 'production';
Any help will be much appreciated because I've tried everything what I found on internet. Downgrading webpack, using react-app-rewired,...
Nothing is working. Thought that this solution could fix the problem as it seems more concise. But no success.
Here the errors:
The text was updated successfully, but these errors were encountered: