You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be good to add this engines property to the create templates? This would fix the issue for folk using Oryx based builds and would give an explicit steer as to what node version Docusaurus requires to build.
I'm open to adding this. This is the last time we bump our Node version before the official release, so we shouldn't worry about users having outdated engines field in their package.json anymore.
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
Hey all,
Sorry, not a bug but so minor I couldn't call it a feature.
Upgrading to beta 21 introduced a minimum node.js version of 16. This broke my build which was using 14. I was able to resolve this by adding:
To my
package.json
which I wrote about here:https://blog.johnnyreilly.com/2022/05/28/azure-static-web-apps-node-16-oryx
And you can see the PR here: johnnyreilly/blog.johnnyreilly.com#228
Would it be good to add this
engines
property to the create templates? This would fix the issue for folk using Oryx based builds and would give an explicit steer as to what node version Docusaurus requires to build.https://github.com/facebook/docusaurus/blob/main/packages/create-docusaurus/templates/classic/package.json
Reproducible demo
No response
Steps to reproduce
Run a build with node 14 installed
Expected behavior
See description
Actual behavior
See description
Your environment
Self-service
The text was updated successfully, but these errors were encountered: