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

Recent Discussions

08 Jun, 2023 02:40 PM
01 Jun, 2023 06:38 AM
30 May, 2023 08:23 PM
30 May, 2023 08:01 PM
26 May, 2023 04:22 PM

 

26 May, 2023 03:55 PM
25 May, 2023 11:56 PM
23 May, 2023 08:46 PM
23 May, 2023 07:39 PM
23 May, 2023 07:31 PM
21 May, 2023 04:36 PM