spacedrive
spacedrive copied to clipboard
[BUG] Linux install fails with incorrect Node version
Building from source using Node 17.9.0 yields:
Your Node version is incompatible with "/amqplib/0.5.2".
Expected version: >=0.8 <=9
Got: v17.9.0
This is happening because the package's manifest has an engines.node field specified.
To fix this issue, install the required Node version.
To Reproduce Steps to reproduce the behavior:
- Clone the repo
- Run
pnpm i - See error
Expected behavior The install to succeed.
Screenshots

Desktop (please complete the following information):
- OS: Manjaro Linux 5.17
Maybe try updating node?
How did you install nodejs btw?
just with nvm, it's the latest version of 17 so not sure what I'd be upgrading to since the docs specify node 17
https://github.com/nodejs/help/wiki/Installation
https://nodejs.org/en/download/current/
This seems odd, I don't think its a Node error. The same Node version works for me so I'm gonna guess that your pnpm version is old, try running:
$ pnpm update --global pnpm