spacedrive icon indicating copy to clipboard operation
spacedrive copied to clipboard

[BUG] Linux install fails with incorrect Node version

Open nlopez99 opened this issue 3 years ago • 6 comments
trafficstars

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:

  1. Clone the repo
  2. Run pnpm i
  3. See error

Expected behavior The install to succeed.

Screenshots image

Desktop (please complete the following information):

  • OS: Manjaro Linux 5.17

nlopez99 avatar Apr 28 '22 17:04 nlopez99

Maybe try updating node?

abhnva avatar Apr 29 '22 01:04 abhnva

How did you install nodejs btw?

abhnva avatar Apr 29 '22 01:04 abhnva

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

nlopez99 avatar Apr 29 '22 02:04 nlopez99

https://github.com/nodejs/help/wiki/Installation

abhnva avatar Apr 29 '22 04:04 abhnva

https://nodejs.org/en/download/current/

abhnva avatar Apr 29 '22 04:04 abhnva

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

he1d1 avatar Jun 17 '22 11:06 he1d1