systemphil / sphil

The Systematic Philosophy Platform🦉
https://sphil.xyz
Other
62 stars 10 forks source link

Fix Package.json to Allow Windows Install Without WSL #93

Closed JMielbrecht closed 1 week ago

JMielbrecht commented 1 week ago

PR Author's Note

Fixed dependencies in package.json to enable npm install on windows without the following EBADPLATFORM error preventing the installation:

npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for @napi-rs/simple-git-linux-x64-gnu@0.1.9: wanted {"os":"linux","arch":"x64"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS:    linux
npm ERR! notsup Valid Arch:  x64
npm ERR! notsup Actual OS:   win32
npm ERR! notsup Actual Arch: x64

Credit to @PatrickLarocque in his PR #90 for coming up with the fix; I've implemented it here as a standalone.

Checklist