You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
postcss, postcss-cli and autoprefixer are globally installed modules. Unfortunately, if the theme has a "local" postcss.config.js (e.g. like the docsy theme) npm fails to resolve the global module path and therefore thinks the autoprefixer module is missing.
Adding NODE_PATH to the execution run for a relevant GitHub Action fixes the problem (reference, example).
I would suggest adding echo `npm root -g` >> /etc/profile somewhere inside the Dockerfile for the primary container.
The text was updated successfully, but these errors were encountered:
postcss
,postcss-cli
andautoprefixer
are globally installed modules. Unfortunately, if the theme has a "local"postcss.config.js
(e.g. like the docsy theme)npm
fails to resolve the global module path and therefore thinks theautoprefixer
module is missing.Adding
NODE_PATH
to the execution run for a relevant GitHub Action fixes the problem (reference, example).I would suggest adding
echo `npm root -g` >> /etc/profile
somewhere inside theDockerfile
for the primary container.The text was updated successfully, but these errors were encountered: