If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Many errors, especially related to "missing modules", are due to npm bugs.
If you're using Windows, follow these instructions to update npm.
If you're using OS X or Linux, run this to update npm:
npm install -g npm@latest
cd your_project_directory
rm -rf node_modules
npm install
Then try to reproduce the issue again.
Can you still reproduce it?
What are you reporting?
Tell us what you think should happen.
Tell us what actually happens.
Run these commands in the project folder and fill in their results:
npm ls react-scripts
(if you haven’t ejected): node -v
: npm -v
:Then, specify:
Please take the time to create a new app that reproduces the issue.
Alternatively, you could copy your app that experiences the problem and start removing things until you’re left with the minimal reproducible demo.
(Accidentally, you might get to the root of your problem during that process.)
Push to GitHub and paste the link here.
By doing this, you're helping the Create React App contributors a big time!
Demonstrable issues gets fixed faster.
You could use eject
command and add CSS modules
or less-loader
support.
You also could use styled-components
you should make your english better first
Closing as currently Less, CSS modules, etc, are not integrated.
You can still run a Less watcher and import resulting CSS if you'd like to, or you can eject.
Most helpful comment
You could use
eject
command and addCSS modules
orless-loader
support.