await import('source-map-support').then((r) => r.default.install())
^^^^^
SyntaxError: Unexpected reserved word
Check out the node version
The reason for the error is a problem with the node version. To use a version above 16
My computer has nvm installed to view the current node version. If you will not install nvm, refer to this mac download nvm_nvm mac download_Xiamen Thinking Blog-CSDN Blog
Execute nvm list to view the node version installed on the computer. Then nvm use v16.17.0