Closed joshkay closed 2 years ago
When installing react-moralis in a Next.js project I receive the following error: Error: Cannot find module '../../../react-native/Libraries/vendor/emitter/EventEmitter'
react-moralis
Error: Cannot find module '../../../react-native/Libraries/vendor/emitter/EventEmitter'
Install react-moralis in a Next.js project.
App no longer compiles.
App should compile.
Server
Client
https://pastebin.com/6D9EwQyd
Things are working for 0.2.6 though, thats what I did, atleast for now.
Correct it's a bug introduced in 0.2.7, we're working on a fix for this.
Fixed in 0.2.8
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