获得徽章 0
有谁可以帮我解决空值合并运算符(??)不被识别的问题吗? 有偿!有偿!有偿!
具体报错代码如下:
./node_modules/superstruct/dist/index.mjs 24:23
Module parse failed: Unexpected token (24:23)
File was processed with these loaders:
* ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| } = failure;
| const msg = path.length === 0 ? message : `At path: ${path.join('.')} -- ${message}`;
> super(explanation ?? msg);
| if (explanation != null) this.cause = msg;
| Object.assign(this, rest);
有兴趣的朋友可以加我微信18323452831
展开
18