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

or

npm install --save babel-loader

Source: https://stackoverflow.com/questions/44490481/cant-resolve-babel-loader

2 Likes

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

Best of luck with your project.

1 Like