Can't test Node.js on WSL

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. Anyone who can help with running tests in Node.js on WSL?

Reply to this discussion Internal reply only staff will see it

Markdown

Attaching KB article:

» »

Read more…

Attach files

Up to 10MB each.

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