Skip to content
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

Compilation time error: You may need an additional loader to handle the result of these loaders. #27

Open
rohit-sharma-92 opened this issue Nov 17, 2021 · 3 comments

Comments

@rohit-sharma-92
Copy link

./node_modules/react-native-event-listeners/index.js 4:20
Module parse failed: Unexpected token (4:20)
File was processed with these loaders:

  • ./node_modules/react-scripts/node_modules/babel-loader/lib/index.js
    You may need an additional loader to handle the result of these loaders.
    |
    | class EventRegister {

static _Listeners = {
| count: 0,
| refs: {}

@deggertsen
Copy link

We are experiencing the same issue.

@rezasazesh
Copy link

Has anyone found a solution for this?

@apponthebeach
Copy link

@rohit-sharma-92 @deggertsen @rezasazesh I had the same error yesterday. As there does not seem to have a solution, my solution for it was to copy the class EventRegister directly in my project and add the library "type-detect" for it to work properly.

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

4 participants