hello-world-part-four-tutorial icon indicating copy to clipboard operation
hello-world-part-four-tutorial copied to clipboard

Module parse failed: Unexpected token (152:76)

Open s6504062856039 opened this issue 2 years ago • 2 comments

Failed to compile.

./node_modules/web3-core-method/lib/index.js 152:76 Module parse failed: Unexpected token (152:76) File was processed with these loaders:

  • ./node_modules/react-scripts/node_modules/babel-loader/lib/index.js You may need an additional loader to handle the result of these loaders. | if (Array.isArray(result)) { | return result.map(function (res) {
  return _this.outputFormatter && res ? _this.outputFormatter(res, this?.hexFormat) : res;

| }); | } else {

Hello, I can fix the problem.

s6504062856039 avatar Mar 25 '23 04:03 s6504062856039

I'm also getting this error

Dave9400 avatar May 04 '23 03:05 Dave9400

Same. How can I fix this?

shungo0222 avatar May 07 '23 00:05 shungo0222