使用Gatsby安装项目时遇到错误

时间:2018-02-06 11:09:46

标签: javascript npm gatsby

我试图用盖茨比安装一个项目,但是我收到了错误。对于官方存储库中的任何项目都是如此。

D:\>gatsby new tutorial-part-one https://github.com/gatsbyjs/gatsby-starter-hello-world

info Creating new site from git: git+https://github.com/gatsbyjs/gatsby-starter-hello-world.git

Cloning into 'tutorial-part-one'...

git: 'remote-git+https' is not a git command. See 'git --help'.
  

错误命令失败:git clone git + https://github.com/gatsbyjs/gatsby-starter-hello-world.git tutorial-part-one --single-branch

     

错误:命令失败:git clone git + https://github.com/gatsbyjs/gatsby-starter-hello-world.git tutorial-part-one --si ngle-branch

     
      
  • index.js:236 Promise.all.then.arr   [NPM] / [盖茨比-CLI] / [execa] /index.js:236:11

  •   
  • util.js:16 tryCatcher   [NPM] / [盖茨比-CLI] / [蓝鸟] /js/release/util.js:16:23

  •   
  • promise.js:512 Promise._settlePromiseFromHandler   [NPM] / [盖茨比-CLI] / [蓝鸟] /js/release/promise.js:512:31

  •   
  • promise.js:569 Promise._settlePromise   [NPM] / [盖茨比-CLI] / [蓝鸟] /js/release/promise.js:569:18

  •   
  • promise.js:614 Promise._settlePromise0   [NPM] / [盖茨比-CLI] / [蓝鸟] /js/release/promise.js:614:10

  •   
  • promise.js:693 Promise._settlePromises   [NPM] / [盖茨比-CLI] / [蓝鸟] /js/release/promise.js:693:18

  •   
  • promise.js:638 Promise._fulfill   [NPM] / [盖茨比-CLI] / [蓝鸟] /js/release/promise.js:638:18

  •   
  • promise_array.js:126 PromiseArray._resolve   [NPM] / [盖茨比-CLI] / [蓝鸟] /js/release/promise_array.js:126:19

  •   
  • promise_array.js:144 PromiseArray._promiseFulfilled   [NPM] / [盖茨比-CLI] / [蓝鸟] /js/release/promise_array.js:144:14

  •   
  • promise.js:574 Promise._settlePromise   [NPM] / [盖茨比-CLI] / [蓝鸟] /js/release/promise.js:574:26

  •   
  • promise.js:614 Promise._settlePromise0   [NPM] / [盖茨比-CLI] / [蓝鸟] /js/release/promise.js:614:10

  •   
  • promise.js:693 Promise._settlePromises   [NPM] / [盖茨比-CLI] / [蓝鸟] /js/release/promise.js:693:18

  •   
  • async.js:133 Async._drainQueue   [NPM] / [盖茨比-CLI] / [蓝鸟] /js/release/async.js:133:16

  •   
  • async.js:143 Async._drainQueues   [NPM] / [盖茨比-CLI] / [蓝鸟] /js/release/async.js:143:10

  •   
  • async.js:17 Immediate.Async.drainQueues   [NPM] / [盖茨比-CLI] / [蓝鸟] /js/release/async.js:17:14

  •   

可能是什么问题?

0 个答案:

没有答案