Failed to compile.
./node_modules/@walletconnect/ethereum-provider/dist/index.es.js 55:10
Module parse failed: Unexpected token (55:10)
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.
| } : {})
| },
> r = e?.filter(l => !m.includes(l)),
| d = i?.filter(l => !u.includes(l));
| if (!s && !h && !n && !(r != null && r.length) && !(d != null && d.length)) return {
I see that you are using Create React App, I ended up using Craco and added the appropriate babel loaders such as optional chaining and null coalescing.
Node Version is v14.21.2
This is my package.json file:
And this is the error I am facing
This error show up when I run npm/yarn start