How to fix "jspm" is not recognized as an internal or external command, operating program or batch file

I install jspm at https://github.com/jspm/jspm-cli/wiki/Getting-Started . npm install jspm -g. He works. and I call it: jspm install, it does not start, cmd notice "jspm" is not recognized as an internal or external command, operating program or batch file. " Help me please!

+6
source share
3 answers

Adding% appdata% \ npm to environment variables under PATH worked for me.

+4
source

I was getting the same error, and what I tried and worked for me was to run cmd.exe as an administrator.

Microsoft Windows [version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C: \ WINDOWS \ system32> cd C: \ dev \ GitHub \ JspmTest

C: \ dev \ GitHub \ JspmTest> jspm -v 0.15.7 Run against a local jspm installation.

C: \ DEV \ GitHub \ JspmTest>

+1
source

I had to add the PATH entry to my windows user env vars, and not to the system. The system did not extend% APPDATA% because APPDATA was installed in custom env vars.

Then add% appdata% \ npm to PATH in custom env vars

Then JSPM was available anywhere in the team.

An entry in the user PATH is added at the end of the PATH system; you do not lose your PATH system.

+1
source

All Articles