/ / météore crée un projet qui échoue - github, meteor

météore créer projet échouant - github, meteor

os: fenêtre 10

lorsque je crée un projet météore, il affiche l'erreur suivante. Donc je ne peux pas apprendre Meteor.

C:test>meteor create asd
C:Usersmsm08AppDataLocal.meteorpackagesmeteor-tool1.6.1mt-os.windows.x86_64dev_bundlelibnode_modulesmeteor-promisepromise_server.js:218
throw error;
^

Error: Error: Could not install npm dependencies for test-packages: Command failed: C:WINDOWSsystem32cmd.exe /c C:Usersmsm08AppDataLocal.meteorpackagesmeteor-tool1.6.1mt-os.windows.x86_64dev_bundlebinnpm.cmd install --production=false
npm ERR! code ENOGIT
npm ERR! No git binary found in $PATH
npm ERR!
npm ERR! Failed using git.
npm ERR! Please check if you have git installed and in your PATH.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:Usersmsm08AppDataRoamingnpm-cache_logs2018-04-01T17_24_26_459Z-debug.log
npm ERR! code ENOGIT
npm ERR! No git binary found in $PATH
npm ERR!
npm ERR! Failed using git.
npm ERR! Please check if you have git installed and in your PATH.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:Usersmsm08AppDataRoamingnpm-cache_logs2018-04-01T17_24_26_459Z-debug.log

at Object.error (C:toolsutilsbuildmessage.js:430:11)
at C:toolsclidefault-npm-deps.js:36:20
at C:toolsutilsbuildmessage.js:334:18
at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
at C:toolsutilsbuildmessage.js:333:36
at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
at Object.enterJob (C:toolsutilsbuildmessage.js:324:26)
at Object.install (C:toolsclidefault-npm-deps.js:27:27)
at Command.func (C:toolsclicommands.js:801:36)
at C:toolsclimain.js:1523:15

Réponses:

2 pour la réponse № 1

Vérifiez le chemin $ s'il contient un Git:

allez à cet ordinateur -> Paramètres système avancés -> Variables d'environnement

vérifiez le chemin s'il contient GIT.

vous pouvez également le vérifier via une invite de commande et tapez "Chemin"


2 pour la réponse № 2

Vous devez simplement installer la version GIT pour Windows à partir de cette version. LIEN

Il définira automatiquement la variable d'environnement pour GIT sur votre machine Windows 10. Vous n'avez rien d'autre à faire.