Error Loading PostCSS Plugin failed Cannot find module 'autoprefixer' #1513
Replies: 1 comment
-
Closing request. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I'm new to Docsy and Hugo and am going to be using Docsy as my documentation site. I'm running into an issue when trying to build the Docsy Example site with GitLab CI. I'm able to successfully build the site locally using hugo server and have attempted multiple options for installing Autoprefixer but keep running into this issue:
I installed Autoprefixer per the Docsy guide and have subsequently tried with -g, cross-env, --save-dev options but to no avail. I have the prerequisites installed (including Autoprefixer) on both the system hosting the GitLab-runner as well as the GitLab system itself.
In terms of GitLab CI, i'm using the .gitlab-ci.yml file from the Docsy site and have configured the "baseURL" accordingly. Also, per a post on the Stackoverflow forum, I also implemented a postcss.config.js script:
module.exports = { plugins: { autoprefixer: { browsers: ['last 10 versions'] } } };
Any assistance would be much appreciated and please let me know if any additional data/information is needed :).
Please find the versions installed below:
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions