Error when installing react-moralis

hi i tried yarn add react-moralis

Module not found: Can't resolve '/Users/myname/Desktop/projectname/node_modules/babel-loader/lib/index.js'

I fixed it by installing the babel-loader module:

yarn add -D babel-loader


npm install --save babel-loader


1 Like

Great. Thanks for the info. It will help other developers as well.

Best of luck with your project.

1 Like