Error Message
./node_modules/@react-spring/web/dist/esm/index.js 113:11
Module parse failed: Unexpected token (113:11)
The 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.
this.transforms = I; } _value = null; get() { return this._value || (this._value = this._get());
I did yarn add @nivo/core @nivo/bar
Please help me resolve this error.
There are two ways to solve this issue:
option 1, Change update package.json update the browserslist property of package.json with
option 2, If you don't want to mess up with package.json then install a different nivo version. Nivo version above 0.80.0, seems to have a problem, so