Skip to content

Cannot find module 'events' on browser #244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lucianmat opened this issue Mar 29, 2016 · 2 comments
Closed

Cannot find module 'events' on browser #244

lucianmat opened this issue Mar 29, 2016 · 2 comments

Comments

@lucianmat
Copy link

On version 1.8.1, loading on browser got error

Uncaught Error: Cannot find module 'events'

which is traced back to EventEmitter.js

if (process.env.PARSE_BUILD === 'react-native') {
  module.exports = require('EventEmitter');
} else {
  module.exports = require('events').EventEmitter;
}

It is a new build configuration settings, or an error ?

@peterdotjs
Copy link
Contributor

@lucianmat the code on master has the fix for this issue. #240 You can use 1.7.1 in the meantime. We'll create a release once we've resolved #234.

@peterdotjs
Copy link
Contributor

resolved in 1.8.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants