# Error hugo installation via npm Doks theme

**URL:** <https://discourse.gohugo.io/t/error-hugo-installation-via-npm-doks-theme/47636>\
**Category:** Using Themes\
**Created:** [December 29, 2023, 2:30pm UTC](https://discourse.gohugo.io/t/error-hugo-installation-via-npm-doks-theme/47636 "2023-12-29T14:30:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wilonweb](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/wilonweb/32/20049_2.png) [@wilonweb](https://discourse.gohugo.io/u/wilonweb)\
**Post date:** [December 29, 2023, 2:30pm UTC](https://discourse.gohugo.io/t/error-hugo-installation-via-npm-doks-theme/47636/1 "2023-12-29T14:30:40Z")

</div>

Hello  
I try to install [Doks Theme](https://themes.gohugo.io/themes/doks/) but i got an error  
I got node v20.10.0  
I launch `npm create hyas@latest -- --template doks`  
After i go on `cd my-project`  
And when i launch `npm install`

this is my error

```bash
npm ERR! code 1
npm ERR! path D:\document\Code\Hugo\doks4\doks5\node_modules\gethyas
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c hugo-installer --version otherDependencies.hugo --extended --destination node_modules/.bin/hugonpm ERR! Hugo Installer
npm ERR!
npm ERR! > Checking for existing binary
npm ERR! > Downloading binary from "https://github.com/gohugoio/hugo/releases/download/v0.119.0/hugo_extended_0.119.0_windows-amd64.zip"
npm ERR! > Downloading checksum from "https://github.com/gohugoio/hugo/releases/download/v0.119.0/hugo_0.119.0_checksums.txt"
npm ERR! > Verifying binary checksum
npm ERR! > Extracting binary to disk
npm ERR! [Error: EINVAL: invalid argument, utime 'D:\document\Code\Hugo\doks4\doks5\node_modules\gethyas\node_modules\.bin\hugo\LICENSE'] {
npm ERR! errno: -4071,
npm ERR! code: 'EINVAL',
npm ERR! syscall: 'utime',
npm ERR! path: 'D:\\document\\Code\\Hugo\\doks4\\doks5\\node_modules\\gethyas\\node_modules\\.bin\\hugo\\LICENSE'
npm ERR! }

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\wilfr\AppData\Local\npm-cache\_logs\2023-12-29T13_15_35_174Z-debug-0.log

```

Do you know what can i do ?

I try a second “classical” way too  
`hugo new site`  
i clone the theme in `theme`  
i activate the theme,  
i make a post  
but when i launch hugo server i got a white page …

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [December 29, 2023, 7:24pm UTC](https://discourse.gohugo.io/t/error-hugo-installation-via-npm-doks-theme/47636/2 "2023-12-29T19:24:51Z")

</div>

This theme is… complex.  
Please raise an issue with the theme author:  
[https://github.com/gethyas/doks/discussions](https://github.com/gethyas/doks/discussions)
