Can't test Node.js on WSL

Andreas Deuschlinger's Avatar

Andreas Deuschlinger

21 Mar, 2023 03:01 PM

Node and npm aren't available on WSL if following this guide:
https://www.appveyor.com/docs/lang/nodejs-iojs/

Also the official suggestion to install it with nvm isn't working.
https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-wsl#install-nvm-nodejs-and-npm

Failing builds are available here:
https://ci.appveyor.com/project/ljharb/eslint-plugin-import/builds/46338908

My PR trying nvm failed miserable.
https://github.com/import-js/eslint-plugin-import/pull/2740

  1. 1 Posted by Andreas Deuschl... on 02 May, 2023 05:57 PM

    Andreas Deuschlinger's Avatar

    Anyone who can help with running tests in Node.js on WSL?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac