Troubleshooting Log
· One min read
We always encounter a bunch of problems. Some problems are caused by ourselves, some by others, and some are beyond our control. Here, we document some common issues and solutions.
tip
This document will be continuously updated.
1. Error Encountered when Running npx docusaurus start
-
Error Message:
file:///home/user/workspace/blog/node_modules/@docusaurus/core/bin/docusaurus.mjs:30
process.env.BABEL_ENV ??= 'development';
^^^
SyntaxError: Unexpected token '??=' -
Solution:
The
??=
operator requires Node.js version 15.0.0 or higher to be supported.nvm install node
nvm use node