-
Notifications
You must be signed in to change notification settings - Fork 156
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
osx: TypeError: Cannot read property 'prototype' of undefined #79
Comments
+1. Same problem here, got exactly the same output. |
Same problem |
+1 7.3.0 here as well |
+2 7.3.0 here as well |
Getting this on OSX 10.11.5 Node version v7.1.0 😞 |
Same as above. |
Same problem with node version v7.4.0 |
Same problem with macOS Sierra 10.12.2 and node v7.4.0. |
same problem with macOS Sierra 10.12.3 and node v7.4.0 |
Same problem here, with Manjaro Linux (Archlinux based distribution) and node v7.4.0. |
This seems to be caused by devnull and the way it imports the EventEmitter here. I recently updated Node.js, so I ended up having this issue. As a temporary workaround I forked both You can install it with
and you should be able to use how2 command as before. Probably not best practice, but it works meanwhile devnull gets updated |
Still have this problem on node v7.4.0 |
Still an issue. Node v7.7.3. |
Still an issue, as above. |
I've just dealt with this issue, actually we can solve it by ourself just in 1 minute (but it's just a workaround): Open this file: var EventEmitter = process.EventEmitter; by: var EventEmitter = require('events'); That's it, no need to wait, enjoy the good part and forget the ugly part :) |
@santinic Can I tip you some beer money to fix this? |
somehow its solving something else :) is there a repo I can log this into? |
Just a small addition to what @thenewvu said:
On my machine, |
Looks like devnull dev's may have forgotten about their project. Fixes above from @thenewvu and @mre are the way to go if you are just trying to use how2. @santinic if you want an easy temp fix devnull13 is basically just the original with the above fix. Might be a bad idea if the original dev's start working on it again, having to change dependencies again n all. There's also the official StackExchange.DataExplorer to replace the current stackexchange module (what is requiring devnull, same dev, also apparently abandoned) but I imagine that would involve major changes to how how2 works and probably waaay to slow for a cli app. Dunno, didn't take much of a look at it, so might be worth a second look. |
@dancyfits I don't think devnull is gonna be developed again (last commit is Nov 16, 2016). |
@PaoloCifariello Good to know! I should've just looked for an alternative logger from the beginning |
@PaoloCifariello Any reason for not making a pull request? Got some fancy additions planned? 😉 |
@dancyfits I didn't open a PR because I think @santinic is not working at this repo anymore 😕 (there are 10 really old open PR and many issues as well). |
it hurts me to write this, but I found the solution: npm rm how2 the executable is still called how2. This is a sad state of affairs... |
an additional information regarding @dataf3l comments |
This issue is now 16 months old and requires a 5 minute fix. @santinic maybe it's time to flag it as abandoned, put it up on some of the 'maintainers wanted' lists, or just plain hand the npm package over to the person that released how-2. |
@PaoloCifariello Ma sei bravissimo! Can we get a Pull Request ? |
mfw there's a reply from @santinic |
Guys, the sun shines in Italy, I cannot spend my life fixing issues 😎 |
Lol, sun shines for me too in Italy 😂 |
That would be enough already! I sent you a Collaborator request |
Yeh, thank you @santinic, I accepted that, but still I can't push to NPM. |
You should now be maintainer of how2 npm as well (just sent the invite). Do as you wish. |
@PaoloCifariello, @santinic Thank you both, your efforts make the world a better place. |
Fixed in #85. |
how2 -l bash zip only jpg
Node -v
v7.2.1
The text was updated successfully, but these errors were encountered: