-
I am using the latest build v1.2.0 of doks. I could locally build everything successfully. When I try to deploy at Netlify (using my github repository), I get the following error (I set up the build command in Netlify as
Can you please help? I also tried using both
It fails. |
Beta Was this translation helpful? Give feedback.
Answered by
h-enk
Jan 8, 2024
Replies: 1 comment 3 replies
-
Could you please share your repo? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed you're missing a bunch of files in your project root.
One is critical — add
.npmrc
containing:You should also add a
.gitignore
containing something like:And, make sure to run a local build and push the generated
hugo_stats.json
to your repository.That should do it!