Comments (7)
I found that this error occurs when I use sinopia as proxy for npm
cat .npmrc
registry=http://localhost:4873/
from how2.
@smmoosavi - Can you compare your how2 version in both cases, and if identical, compare the versions of its dependencies when installed with and without?
from how2.
how2 --version
how2 version 1.1.0 - by Claudio Santini
from how2.
Please give exact reproduction steps so that we could test this, and include OS type and version, node version, and npm version.
from how2.
If you want to reproduce error:
$ npm i how2
$ npm i sinopia
$ cat ~/.npmrc # is empty
$ ./node_modules/.bin/how2 -l python list length
# no error until this line
$ npm set registry http://localhost:4873
$ cat ~/.npmrc
registry=http://localhost:4873
$./node_modules/.bin/sinopia
$ ./node_modules/.bin/how2 -l python list length
# errors TypeError: Invalid Version: null ...
$ echo '' > ~/.npmrc
./node_modules/.bin/how2 -l python list length
# every thing is ok
Ubuntu 14.04 LTS
npm 3.3.12
node v5.1.0
from how2.
Probably an issue with npm-latest, originating in this line.
Could you please run:
npm i npm-latest
echo '' > ~/.npmrc
./node_modules/.bin/npm-latest how2
echo 'registry=http://localhost:4873' > ~/.npmrc
./node_modules/.bin/sinopia
./node_modules/.bin/npm-latest how2
?
from how2.
yes, you are right.
with sinopia
how2:
latest: null
last updated: null
with default registry
how2:
latest: 1.1.0
last updated: Mon Mar 07 2016 23:53:18 GMT+0330 (IRST)
author: Claudio Santini
repo: https://github.com/santinic/how2
description: Uses Google and Stackoverflow to find how to do things on a Unix commmand line
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
- DeprecationWarning HOT 3
- 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.