Error: Cannot find module 'autoprefixer'
See original GitHub issueIβm recevice this on first installation:
Running "run_grunt:sliderMakeCss" (run_grunt) task
smartbin-ors-app | --> starting "bower_components/angularjs-slider/Gruntfile.js"
smartbin-ors-app | --> reporting "bower_components/angularjs-slider/Gruntfile.js"
smartbin-ors-app | | Initializing
smartbin-ors-app | | Command-line options: --gruntfile=/ors-app/bower_components/angularjs-slider/Gruntfile.js, --debug=1, --verbose
smartbin-ors-app | |
smartbin-ors-app | | Reading "Gruntfile.js" Gruntfile...OK
smartbin-ors-app | |
smartbin-ors-app | | Registering Gruntfile tasks.
smartbin-ors-app | | Reading package.json...OK
smartbin-ors-app | | Parsing package.json...OK
smartbin-ors-app | | Loading "Gruntfile.js" tasks...ERROR
smartbin-ors-app | | >> Error: Cannot find module 'autoprefixer'
smartbin-ors-app | | >> at Function.Module._resolveFilename (module.js:547:15)
smartbin-ors-app | | >> at Function.Module._load (module.js:474:25)
smartbin-ors-app | | >> at Module.require (module.js:596:17)
smartbin-ors-app | | >> at require (internal/module.js:11:18)
smartbin-ors-app | | >> at Object.module.exports (/ors-app/bower_components/angularjs-slider/Gruntfile.js:163:11)
smartbin-ors-app | | >> at loadTask (/ors-app/node_modules/grunt/lib/grunt/task.js:315:10)
smartbin-ors-app | | >> at Task.task.init (/ors-app/node_modules/grunt/lib/grunt/task.js:450:5)
smartbin-ors-app | | >> at Object.grunt.tasks (/ors-app/node_modules/grunt/lib/grunt.js:129:8)
smartbin-ors-app | | >> at Liftoff.<anonymous> (/usr/local/lib/node_modules/grunt-cli/bin/grunt:66:13)
smartbin-ors-app | | >> at Liftoff.execute (/usr/local/lib/node_modules/grunt-cli/node_modules/liftoff/index.js:203:12)
smartbin-ors-app | |
smartbin-ors-app | | Running tasks: css
smartbin-ors-app | | Warning: Task "css" not found. Use --force to continue.
smartbin-ors-app | |
smartbin-ors-app | | Aborted due to warnings.
smartbin-ors-app | |
smartbin-ors-app | --> failed "bower_components/angularjs-slider/Gruntfile.js" (525ms)
smartbin-ors-app | --> failed sliderMakeCss @ "bower_components/angularjs-slider/Gruntfile.js"
smartbin-ors-app |
smartbin-ors-app | Warning: 1 gruntfile failed and completed 0 (528ms)
smartbin-ors-app | Use --force to continue.
smartbin-ors-app |
smartbin-ors-app | Aborted due to warnings.
smartbin-ors-app |
smartbin-ors-app |
smartbin-ors-app | Execution Time (2020-08-18 14:12:20 UTC-0)
smartbin-ors-app | loading tasks 815ms ββββββββ 21%
smartbin-ors-app | browserify:turf 495ms βββββ 13%
smartbin-ors-app | less:development 166ms ββ 4%
smartbin-ors-app | prettier:files 1.8s ββββββββββββββββββ 48%
smartbin-ors-app | run_grunt:sliderMakeCss 529ms ββββββ 14%
smartbin-ors-app | Total 3.8s
smartbin-ors-app |
smartbin-ors-app exited with code 6
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 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 >Error: Cannot find module 'autoprefixer' Β· Issue #177 - GitHub
After cloning the repository and runing npm install and then npm run dev I get the following: ERROR in ./~/css-loader?
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 >
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 Free
Top 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
upgrade my npm to version 6.14.7 this has resolved the issue
I am having the same issue npm version: 3.5.2 OS: ubuntu 18.04
I did do the npm install in bower_components/angular-slider but I get the following error