Comments (6)
it does work if you use -l properly
how2 -l python request headers
how2 -l javascript get viewport height
but it shouldnt behave like that anyhow.
from how2.
Fixed in 1.0.5, update with:
npm update -g how2
from how2.
Still happening to me with macOS 10.12.1, node 7.0.0, how2 1.1.0:
user@pro:~$ how2 -l python request headers
/usr/local/lib/node_modules/how2/node_modules/devnull/transports/transport.js:59
Transport.prototype.__proto__ = EventEmitter.prototype;
^
TypeError: Cannot read property 'prototype' of undefined
at Object.<anonymous> (/usr/local/lib/node_modules/how2/node_modules/devnull/transports/transport.js:59:45)
at Module._compile (module.js:573:32)
at Object.Module._extensions..js (module.js:582:10)
at Module.load (module.js:490:32)
at tryModuleLoad (module.js:449:12)
at Function.Module._load (module.js:441:3)
at Module.require (module.js:500:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/local/lib/node_modules/how2/node_modules/devnull/transports/stream.js:8:17)
at Module._compile (module.js:573:32)
from how2.
Yep, getting the same thing on some questions, for example:
→ how2 get viewport height with javascript
Cannot fetch answers from Stackoverflow.
TypeError: Cannot read property 'body_markdown' of undefined
from how2.
thanks, fixing it.
from how2.
Suggested a fix for this with #6
from how2.
Related Issues (20)
- Ver depois
- Clarify npm package
- [Feature request] Any other way of installing how2 without npm? HOT 2
- [Windows] Crash after pressing space
- Explain how it works on README.md
- Sorry, I cannot find any reasonable answer for your query HOT 1
- Result title is undefined?
- error ,not connect HOT 2
- SO search completely broken (deliberately?) HOT 2
- TypeError: Cannot read property 'prototype' of undefined HOT 1
- Problem in Using! HOT 1
- Type Error: Cannot read property 'prototype' of undefined HOT 2
- Sublime or Alfred plugin?
- Error: Cannot read property 'prototype' of undefined. HOT 2
- Unexpected token function when trying to launch how2 HOT 1
- Sorry, I cannot find any reasonable answer for your query. HOT 21
- OSX problem TypeError: Cannot read property 'prototype' of undefined HOT 2
- "ETIMEDOUT" error logged to console when pressing space for more choices HOT 1
- SyntaxError: Unexpected token function HOT 4
- Query error with mongodb HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from how2.