Open AmalRichwin-AT opened 3 years ago
I am having this same issue, except I can load the page once fine but then on reload the error will throw.
Same issue for me after reload
Same here
create-react-app
provided environment worked for mecraco.config.js
file (or extend it):module.exports = {
webpack: {
configure: {
module: {
rules: [
{
test: /\.m?js/,
resolve: {
fullySpecified: false,
},
},
]
}
}
}
}
P.S. It's just a little overriding of default webpack 5 configuration provided by react-scripts@5.0.1
(my currently installed version).
I had this same issue on my Next.js app while using react-financial charts and was able to solve it with the solution by adamhwang here: https://github.com/react-financial/react-financial-charts/issues/606
You'll need this package: https://github.com/martpie/next-transpile-modules
When i have installed the package and tried to run, it throwed this @error.
Error: Cannot find module 'D:\charts\node_modules\@react-financial-charts\annotations\lib\Annotate' imported from D:\charts\node_modules\@react-financial-charts\annotations\lib\index.js