Giter Site home page Giter Site logo

how-to-npm on windows about how-to-npm HOT 9 CLOSED

workshopper avatar workshopper commented on July 21, 2024
how-to-npm on windows

from how-to-npm.

Comments (9)

itzsaga avatar itzsaga commented on July 21, 2024 1

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.

Quas94 avatar Quas94 commented on July 21, 2024

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.

No9 avatar No9 commented on July 21, 2024

There are 3 patches that attempt to to solve this

#17
#19
#32

And this was the original bug report
#11

@isaacs @mmalecki @linclark
Please can we get this in somehow?

from how-to-npm.

kaiyoma avatar kaiyoma commented on July 21, 2024

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.

kaiyoma avatar kaiyoma commented on July 21, 2024

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.

8fdafs2 avatar 8fdafs2 commented on July 21, 2024

try run how-to-npm in 'Node.js command prompt' see if it solves the problem

from how-to-npm.

cltsao avatar cltsao commented on July 21, 2024

@8fdafs2 Thanks. Running how-to-npm in Node.js command prompt solved the problem in my Windows environment.

from how-to-npm.

itzsaga avatar itzsaga commented on July 21, 2024

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.

watilde avatar watilde commented on July 21, 2024

#108 is shipeed as v2.4.1. Closing as resolved :)

from how-to-npm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.