SamBouwer / any-docker

Dockerized all-in-one instance of an anytype node
MIT License
70 stars 7 forks source link

Add nvm reference for installing and managing nodejs #23

Open SamBouwer opened 1 year ago

SamBouwer commented 1 year ago

Because I found it hard to figure out which node and npm versions to use 🙈

Shampra commented 1 year ago

+1 You were right : I had to install Node 14 (and npm to manage it, as advised).

Shampra commented 1 year ago

... and version of Node seems veeeery sensitive

ERROR: npm v9.8.1 is known not to run on Node.js v14.0.0.  This version of npm supports the following node versions: `^14.17.0 || ^16.13.0 || >=18.0.0`. You can find the latest version at https://nodejs.org/.

ERROR:
/home/user/any-docker/anytype-clients/anytype-ts/node_modules/npm/node_modules/signal-exit/dist/cjs/index.js:211
    #processReallyExit(code) {
ra3orblade commented 11 months ago

You can always check node version here https://github.com/anyproto/anytype-ts/blob/main/.github/workflows/build.yml - name: Install Node.js, NPM and Yarn uses: actions/setup-node@v1 with: node-version: 18.15.0