Worker Node version not updating

Good afternoon! I'm trying to deploy an update to my Docusaurus site, and I've run into an issue I can't seem to resolve. When building, I get this error in the log:
16:23:13.694 > docusaurus build
16:23:13.694
16:23:14.708 [INFO] You are using Node.js v18.17.1, Requirement: Node.js >=20.0.
16:23:14.709 [ERROR] Minimum Node.js version not met :(
16:23:14.727 Failed: Error while executing user command. Exited with error code: 1
16:23:14.736 Failed: build command exited with code: 1
16:23:16.046 Failed: error occurred while running build command
16:23:13.694 > docusaurus build
16:23:13.694
16:23:14.708 [INFO] You are using Node.js v18.17.1, Requirement: Node.js >=20.0.
16:23:14.709 [ERROR] Minimum Node.js version not met :(
16:23:14.727 Failed: Error while executing user command. Exited with error code: 1
16:23:14.736 Failed: build command exited with code: 1
16:23:16.046 Failed: error occurred while running build command
In my package.json I have the following:
"engines": {
"node": ">=20.0"
}
"engines": {
"node": ">=20.0"
}
When that didn't work, I tried adding NODE_VERSION 20 as an ENV var (via the dashboard), but that didn't help either... At a bit of a loss now, any help is appreciated, thanks!
1 Reply
Christopher
ChristopherOP•2mo ago
Solved my own issue - had to change the Build system version from Version 2 to Version 3 🙂
No description

Did you find this page helpful?