Cannot find module autoprefixer in NPM scripts
问题 Under windows 10 and npm version 6.9.0, I cannot get the following script to work: "build:css": "postcss --use autoprefixer -b 'last 2 versions' < ./static/css/main.css" I'm always getting same error in the Windows console as follows: Plugin Error: Cannot find module 'autoprefixer' I've tried changing the syntax to the following one with no results: "build:css": "postcss --use autoprefixer -b \"last 10 versions\" ./static/css/main.css -o ./static/css/main-prefixed.css" Can anyone tell me