1. Home
  2. Knowledge Base
  3. Ghostlab: Troubleshooting
  4. Fixing Autoprefixer Errors on Windows

If you experience problems running the Autoprefixer preprocessor on windows, please follow these steps:

  • For some reason, there is a problem with the postcss v8.1.1 release. You will need to downgrade to v8.1.0 manually by opening a command line (cmd or Powershell) and running this command:
    npm i postcss@8.1.0
    After that, run Ghostlab’s preprocessor pipeline again by modifying and saving a CSS file.
  • If you get the error message “Input Error: You must pass a valid list of files to parse” when running Autoprefixer, download this index.js file and use it to replace the file %homepath%\node_modules\postcss-cli\index.js.
    Then try running the preprocessor again.

Was this article helpful?

Related Articles