Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Linux install fails with incorrect Node version #49

Closed
nlopez99 opened this issue Apr 28, 2022 · 6 comments
Closed

[BUG] Linux install fails with incorrect Node version #49

nlopez99 opened this issue Apr 28, 2022 · 6 comments
Assignees
Labels

Comments

@nlopez99
Copy link

nlopez99 commented Apr 28, 2022

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 nlopez99 added the kind/bug Something isn't working label Apr 28, 2022
@abhnva
Copy link
Contributor

abhnva commented Apr 29, 2022

Maybe try updating node?

@abhnva
Copy link
Contributor

abhnva commented Apr 29, 2022

How did you install nodejs btw?

@nlopez99
Copy link
Author

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

@abhnva
Copy link
Contributor

abhnva commented Apr 29, 2022

@abhnva
Copy link
Contributor

abhnva commented Apr 29, 2022

@oscartbeaumont oscartbeaumont self-assigned this May 4, 2022
@oscartbeaumont oscartbeaumont added this to the MVP milestone May 4, 2022
@he1d1
Copy link
Contributor

he1d1 commented Jun 17, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants