Skip to content

Fixed Error 1909 and NPM works but I keep getting a weird error before NPM runs. #11749

@andrew-vicencio

Description

@andrew-vicencio

Version: 6.10.0 and NPM 4.3.0/3.10.10
Platform: 32-bit Windows

I was able to fix Error 1909 using the instructions in #8141. I created an npm folder in %APPDATA% and running npm install npm -g in command line while running as administrator. I also changed the environment variable from C:\Program Files (x86)\nodejs\ to C:\Program Files (x86)\nodejs.

So NPM is now installed in %APPDATA% and the enviro var is correct but I keep getting an error before NPM runs. You can see it in the first screen shot below. In the second screen shot, you can see that I can install the latest version (4.3.0) but when I run npm -v, it still says that it is version 3.10.10

I can't find anybody else with the same problem and I don't know what to do from here. Any help would be great, thank you.

Error:
'CALL "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" prefix -g' is not recognized as an internal or external command,
operable program or batch file.

2017-03-08

2017-03-08 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    npmIssues and PRs related to the npm client dependency or the npm registry.questionIssues that look for answers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions