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
hugo new site --format yaml myproject
cd myproject
echo'theme: docsy'>> hugo.yaml
echo'themesDir: node_modules'>> hugo.yaml
npm init -y
npm install --save-dev google/docsy#semver:0.8.0 autoprefixer postcss-cli hugo-extended@0.120.4
npx hugo
Hugo reports: "Error: failed to load modules: module "github.com/FortAwesome/Font-Awesome" not found in "/Users/chalin/tmp/myproject/node_modules/github.com/FortAwesome/Font-Awesome"; either add it as a Hugo Module or store it in "/Users/chalin/tmp/myproject/node_modules".: module does not exist"
The problem is that Docsy's postinstall NPM script isn't being run automatically, but it should.
The text was updated successfully, but these errors were encountered:
This was uncovered by @sftim through his work on
To reproduce the problem, run the following:
Hugo reports: "Error: failed to load modules: module "github.com/FortAwesome/Font-Awesome" not found in "/Users/chalin/tmp/myproject/node_modules/github.com/FortAwesome/Font-Awesome"; either add it as a Hugo Module or store it in "/Users/chalin/tmp/myproject/node_modules".: module does not exist"
The problem is that Docsy's
postinstall
NPM script isn't being run automatically, but it should.The text was updated successfully, but these errors were encountered: