question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with Emitter

See original GitHub issue

When I install color-picker with npm, the following error occurs when I try to import the package:

Module build failed: Error: ENOENT: no such file or directory, open '.../node_modules/emitter/dist/emit

When I install the package with npm install --save emitter, the error seems to disappear in the terminal but a new one occurs in Chrome:

Uncaught (in promise) TypeError: Emitter is not a function

If you inspect the file index.js in node_modules, this seems to come from:

/**
 * Mixin Emitter.
 */

Emitter(ColorPicker.prototype);

For the first issue, I suggest you add this package as a module dependency in package.json. For the second one, I don’t have any answer.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
taufik-nurrohmancommented, Jun 29, 2017

I’d love to. But for the next 3 months probably I will be out from my computer for a while. I don’t want to make everybody waiting so I will try to learn it by myself if I have a spare time. Thanks.

0reactions
taufik-nurrohmancommented, Jul 6, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · emitter-io/emitter - GitHub
High performance, distributed and low latency publish-subscribe platform. - Issues · emitter-io/emitter.
Read more >
Troubleshooting the Case event emitter - IBM
Known problems with the Case event emitter application are diagnosed and solutions described. Enabling detailed tracing on the Case event emitter. To be...
Read more >
Pop Up Emitter Problems Solved | Clog Free Lawn Pop Ups
The pros and cons of lawn pop up emitters. Pop up emitter problems are primarily due to clogging but our new pop up...
Read more >
Emitter Contact Information
Please submit any Emitter bugs, issues, and feature requests to github issues. If there are any security issues, please email info@emitter.io instead of ......
Read more >
Troubleshooting Standard Adjustable Emitter Circuits
1. The control processor could have a bad channel. (not typical) · 2. The home run able could be improperly terminated or damaged....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found