any-docker icon indicating copy to clipboard operation
any-docker copied to clipboard

Add nvm reference for installing and managing nodejs

Open SamBouwer opened this issue 2 years ago • 3 comments

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

SamBouwer avatar Sep 04 '23 20:09 SamBouwer

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

Shampra avatar Sep 06 '23 08:09 Shampra

... 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) {

Shampra avatar Sep 06 '23 08:09 Shampra

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

ra3orblade avatar Nov 18 '23 10:11 ra3orblade