Error: Cannot find module 'autoprefixer'
See original GitHub issueAfter cloning the repository and runing npm install
and then npm run dev
I get the following:
ERROR in ./~/css-loader?module&localIdentName=[name]__[local]___[hash:base64:5]!./~/postcss-loader!./app/css/main.css
Module build failed: Error: Cannot find module 'autoprefixer'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.postCSSConfig (/Users/jon/Sites/react-webpack-node/webpack/webpack.config.dev-client.js:44:5)
at Object.module.exports (/Users/jon/Sites/react-webpack-node/node_modules/postcss-loader/index.js:28:27)
@ ./app/css/main.css 4:14-179 13:2-17:4 14:20-185
Issue Analytics
- State:
- Created 8 years ago
- Comments:17 (6 by maintainers)
Top Results From Across the Web
getting "Cannot find module 'autoprefixer'" error during setup ...
I've checked that I have autoprefixer in my node_modules folder and tried reinstalling it, but I get the same error. In my package.json...
Read more >Solved- “Cannot find module 'autoprefixer'” error tailwindcss
This error can be fixed easily if you just uninstall and reinstall the dependencies. ... It should work and it will create the...
Read more >autoprefixer - npm
PostCSS plugin to parse CSS and add vendor prefixes to CSS rules using values from Can I Use. It is recommended by Google...
Read more >Error: Loading PostCSS Plugin failed: Cannot find module 
Expected behavior. I expected it to work. Actual behavior. Failed to compile. ./node_modules/mdbvue/lib/css/mdb.min.css (.
Read more >Cannot find module 'autoprefixer' - support - HUGO
Hello guys,. I'm new here and I'm trying to make my 1st website with Hugo. So, I've finished all the basical steps, now...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jonjamz The issue is that we removed the dependency
npm install autoprefixer
.That should fix it. I’ll push a hotfix when I get the chance. Thanks for raising this issue.
+1 Running
npm install autoprefixer
solved the same issue for me too.