When deploying my site, I’m getting the following error:
Building sites … /builds/documentation/docs/node_modules/fs-extra/lib/mkdirs/make-dir.js:86 } catch { ^ SyntaxError: Unexpected token { at createScript (vm.js:80:10)
Answer:
If anyone else gets this error, just make to sure to upgrade to the latest node version. fs-extra”: “^9.0.0 required node 10 or higher.
2,198