avalanche-wallet icon indicating copy to clipboard operation
avalanche-wallet copied to clipboard

Request for upgrade to Node@16 or later LTS version

Open balmoral opened this issue 2 years ago • 1 comments

Attempting to local build of avalanche-wallet.

Node version specified in package.json is 15.x which is not long-term support (LTS) release of Node.

Is support for later LTS versions of Node planned?

balmoral avatar Mar 27 '22 23:03 balmoral

Hi, any update on this? Apple Silicon support was added in Node 16, so I can't run this on my M1 laptop.

Removing the node 15.x restriction from package.json and running yarn serve causes a SIGABRT error:

❯ yarn serve
yarn run v1.22.17
$ vue-cli-service serve
 INFO  Starting development server...
Starting type checking service...
Using 1 worker with 2048MB memory limit
40% building 133/136 modules 3 active /Users/matt/src/github.com/ava-labs/avalanche-wallet/node_modules/core-js/modules/es.array.find-index.js
Assertion failed: (thread_id_key != 0x7777), function find_thread_id_key, file coroutine.cc, line 134.
error Command failed with signal "SIGABRT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Which is due to node-fibers, as this is not supported on node 16+.

Removing fibers with yarn remove fibers and running via yarn serve does seem to work on Node v16.13.0 though. I can submit a PR for this if it's an acceptable solution?

mattheath avatar Jul 26 '22 16:07 mattheath