-
Hi, I'm new to Docsy (and Hugo). Trying to build the example site for the very first time. I'm getting this error:
The strange thing is that autoprefixer package is installed in the same location as the postcss-cli package, which is presumably trying to call it:
Any clues much appreciated. thanks, Joe |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This issue was already raised in #1586. Possible solution: can you please check if there is a `package.json in the root directory of your site? If not, can you please run:
Then answer the questions in the command line questionnaire.
Now you should be able to successfully run:
Can you please try that and report back whether this cures your problem? |
Beta Was this translation helpful? Give feedback.
This issue was already raised in #1586.
From your logs I can see you installed autoprefixer and postcss globally, but docsy expects them locally, this may be the cause for your troubles.
Possible solution: can you please check if there is a `package.json in the root directory of your site? If not, can you please run:
Then answer the questions in the command line questionnaire.
Afterwards, issue:
Now you should be able to successfully run:
Can you please try that and report back whether this cures your problem?