When I tried to build the program, ide reported me this error:
00:02:09.910 ERROR SyntaxError: Unexpected token {
00:02:09.955 /Users/seho/Desktop/数字经济/finance-mini-program/node_modules/fork-ts-checker-webpack-plugin-v5/node_modules/fs-extra/lib/mkdirs/make-dir.js:85
00:02:09.967 } catch {
00:02:09.967 ^
00:02:10.001 SyntaxError: Unexpected token {
00:02:10.006 at createScript (vm.js:80:10)
00:02:10.006 at Object.runInThisContext (vm.js:139:10)
00:02:10.011 at Module._compile (module.js:616:28)
00:02:10.015 at Object.Module._extensions..js (module.js:663:10)
00:02:10.015 at Module.load (module.js:565:32)
00:02:10.036 at tryModuleLoad (module.js:505:12)
00:02:10.036 at Function.Module._load (module.js:49
My node version is all up to date, and I’m looking for a solution. There has never been such a problem in the windows environment, but the mac system I’m using now
fs-extra
version:this is fork-ts-checker-webpack-plugin-v5 dependencies:
When I tried to build the program, ide reported me this error:
My node version is all up to date, and I’m looking for a solution. There has never been such a problem in the windows environment, but the mac system I’m using now