MoralisWeb3 / react-moralis

Hooks and components to use Moralis in a React app
MIT License
624 stars 166 forks source link

Next.js project not compiling #48

Closed joshkay closed 2 years ago

joshkay commented 2 years ago

New Bug Report

Checklist

Issue Description

When installing react-moralis in a Next.js project I receive the following error: Error: Cannot find module '../../../react-native/Libraries/vendor/emitter/EventEmitter'

Steps + code to reproduce

Install react-moralis in a Next.js project.

Actual Outcome

App no longer compiles.

Expected Outcome

App should compile.

Environment

Server

Client

Logs

https://pastebin.com/6D9EwQyd

karcreativeworks commented 2 years ago

Things are working for 0.2.6 though, thats what I did, atleast for now.

ErnoW commented 2 years ago

Correct it's a bug introduced in 0.2.7, we're working on a fix for this.

ErnoW commented 2 years ago

Fixed in 0.2.8