huyb1991 / hugo-lamp

A light Hugo AMP responsive theme for blogger ⚡.
https://themes.gohugo.io/theme/hugo-lamp/
MIT License
53 stars 28 forks source link

Yarn install fails on windows #61

Closed sfxworks closed 4 years ago

sfxworks commented 4 years ago

https://gist.github.com/sfxworks/43192219a2c44acbe523da9948d26da6

quantomworks@DESKTOP-6VDCHBC:/mnt/c/users/shaba/documents/git/mcsh-support/themes/hugo-lamp$ yarn install
yarn install v1.21.1
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.7: The platform "linux" is incompatible with this module.
info "fsevents@1.2.7" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 57.77s.

Works fine on linux subsystem but errors out hard on windows 10.

PS C:\Users\shaba\Documents\git\mcsh-support\themes\hugo-lamp> yarn version
yarn version v1.21.1
info Current version: 1.0.2
quantomworks@DESKTOP-6VDCHBC:/mnt/c/users/shaba/documents/git/mcsh-support/themes/hugo-lamp$ yarn version
yarn version v1.21.1
info Current version: 1.0.2
huyb1991 commented 4 years ago

Follow document node-sass

Compiling on Windows machines requires the node-gyp prerequisites