Module not found: Can't resolve 'moralis' in React

Hi guys,
I am trying to integrate Moralis into my React project. It seems I have done all as guided by this link: https://www.npmjs.com/package/react-moralis
But I ve got this error:

Failed to compile.

./node_modules/react-moralis/lib/index.esm.js
Module not found: Can’t resolve ‘moralis’ in ‘D:…\node_modules\react-moralis\lib’

Hi,

Can you please give us more information about the error faced. The code used and tutorial that you’re following to make your project.

Thanks.

Thank you guys, I did not ran “npm install moralis” - that is why it shown error!
after installing, it is ok.

1 Like