Failed to compile.
./src/index.js 1:43
Module parse failed: Unexpected token (1:43)
File was processed with these loaders:
* ./node_modules/@pmmmwh/react-refresh-webpack-plugin/loader/index.js
* ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
> $RefreshRuntime$ = require('/Volumes/Coder's notes/React/sell-demo/node_modules/react-refresh/runtime.js');
| $RefreshSetup$(module.id);
解决了么?我也碰到这个问题了
这个问题解决了吗?
https://www.npmjs.com/package/@pmmmwh/react-refresh-webpack-plugin@pmmmwh/react-refresh-webpack-plugin
从报错来看,./src/index.js 43行可能有问题,你注释看看,或者截个图发出来看看