purescript / purescript/spago

REPL: Unsupported Node.js version 10. Required Node.js version >=12.

Open
#950 7 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug help wanted
Dominant language
PureScript
Stars
831
Forks
137
PR merge metrics
No merged PRs in 30d

Description

When running spago repl I get this error : Unsupported Node.js version 10. Required Node.js version >=12.

which node = /home/richard/.nvm/versions/node/v18.13.0/bin/node

nvm list

image

To reproduce:

Screenshot from 2023-03-17 10-28-34

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with spago repl, then compare the Node.js version reported by the command with which node and nvm list. Trace how the REPL selects or discovers Node.js; done means the command uses the intended Node.js version and no longer reports version 10 when Node.js 18 is active.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.