Comments (9)
Possible solution:
Instruct people on Windows to run npm -v
and if the version is high enough instruct people to run how-to-npm verify skip
. Otherwise upgrade npm via npm install npm
.
I believe this could solve this issue but I'm not 100% on this idea.
from how-to-npm.
I just completed all the steps whilst skipping verification for the parts which produced this error. Just a heads up that this issue exists, though.
from how-to-npm.
There are 3 patches that attempt to to solve this
And this was the original bug report
#11
@isaacs @mmalecki @linclark
Please can we get this in somehow?
from how-to-npm.
Seeing this as well. Quotes around the file location of the npm executable are necessary on Windows because the default install location for Node.js has spaces in its name.
from how-to-npm.
The problem seems to be worse now than when the OP submitted the issue. I can't advance past step 2 (Login) because attempting to skip verification also results in an error:
...\Kyle\Portfolio\Studying\temp-workspace> how-to-npm verify
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Uh oh!
It looks like something went wrong
#########################################
### YOUR SOLUTION IS NOT CORRECT! ###
#########################################
...\Kyle\Portfolio\Studying\temp-workspace> how-to-npm verify skip
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Uh oh!
It looks like something went wrong
#########################################
### YOUR SOLUTION IS NOT CORRECT! ###
#########################################
from how-to-npm.
try run how-to-npm in 'Node.js command prompt' see if it solves the problem
from how-to-npm.
@8fdafs2 Thanks. Running how-to-npm in Node.js command prompt solved the problem in my Windows environment.
from how-to-npm.
Just updating with my error. This is still an issue and needs more instruction for people to work around.
λ how-to-npm verify
verifying that npm is installed...
Uh oh! npm had a problem! {"killed":false,"code":1,"signal":null,"cmd":"C:\\Program Files\\nodejs\\npm.CMD --version"}
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
#########################################
### YOUR SOLUTION IS NOT CORRECT! ###
#########################################
from how-to-npm.
#108 is shipeed as v2.4.1. Closing as resolved :)
from how-to-npm.
Related Issues (20)
- Update the label names HOT 1
- Pull request #108 rolls back fix #57 HOT 5
- Incorrectly reports wrong folder on windows due to case sensitivity HOT 1
- Version checking issue with "00 Install npm" exercise HOT 3
- how-to-npm HOT 2
- Very basic NPM newbie question HOT 2
- Cannot publish HOT 2
- npm publish needs a paid account HOT 3
- Renew the problems to support npm@5
- Error, when trying to reset registry HOT 3
- when I type how-to-npm in terminal It gives me the following error HOT 2
- Challenge 00: doesn't tell you how to check version HOT 1
- npm-init fails in Dev Enviroment
- No outdated packages ... HOT 1
- "npm install <package-name>" better than "npm install <module-name>"
- should keep bundleDependencies in package.json? HOT 1
- no such file or directory, chmod '/usr/local/lib/node_modules/how-to-npm/node_modules/mkdirp/bin/cmd.js' HOT 6
- Error: Cannot find module 'workshopper-adventure/adventure' HOT 1
- npm adduser -> Error: code ENYI Web login not supported
- Is this repository still being maintained in 2023? HOT 5
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 how-to-npm.