Closed stormikph closed 1 year ago
Looks like something is wrong with your system because that error says your version of node is 15
Hi @kentcdodds, I'm running into this issue as well. The error happens because of nvm
, NVM detects that the repo does not contain any .nvmrc
, so it reverts to the default version
Here are my approaches to fix this issue:
.nvmrc
to the repo containing the required Node versionI don't plan on adding an .nvmrc
file. There are multiple ways people manage their node version and I'm not interested in adding a config file for every one of them.
I recommend you uninstall node v16 in your node version manager as that is no longer a maintained version of node.
Agree.
When I tried to run npm run setup
I got this error:
I am using Linux Mint, and I found that there is an issue with Playwright here: https://github.com/microsoft/playwright/issues/6554
Also, there is no possibility of running this workshop if you don't use one of those systems:
System requirements from https://playwright.dev/docs/intro
Node.js 16+
Windows 10+, Windows Server 2016+ or Windows Subsystem for Linux (WSL).
MacOS 12 Monterey or MacOS 13 Ventura.
Debian 11, Debian 12, Ubuntu 20.04 or Ubuntu 22.04, with x86-64 or arm64 architecture.
I also tried before on Arch Linux and had another issue with the Playwright part. Is there any workaround for this problem? Thank you in advance.
Sadly playwright does not support your version of linux. You'll have to disable the playwright setup by running setup with SKIP_PLAYWRIGHT
:
SKIP_PLAYWRIGHT=true npm run setup
You'll want to do the same for all the workshops. Unfortunately this won't work for the testing workshop because playwright is an important part of those exercises, but you could run the workshops in GitHub Codespaces which can run the non-UI mode of Playwright.
Hopefully playwright will support linux mint in the future.
When I try to start up and I'm received this error
npm run setup
npm i
npm start
git version: 2.26.2 node version: 18.18.2 npm version: 9.8.1