Cant run yarn run start on node 20.6.0 #9290
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: duplicate
This issue or pull request already exists in another issue or pull request
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
When trying to run
yarn run start
on node version20.6.0
I get the following error:Downgrading node to version
18
fixed the problem for now.I'm unsure if this issue is caused by node or Docusaurus. What's certain is that the latest version of Docusaurus
2.4.1
and node20.6.0
don't work together for me.Reproducible demo
No response
Steps to reproduce
Install version Docusaurus
2.4.1
and node20.6.0
and runyar run start
.Expected behavior
The build should work.
Actual behavior
The build immediately fails with the error:
Your environment
2.4.1
20.6.0
Self-service
The text was updated successfully, but these errors were encountered: