Bod*_*kel 6 git debian npm zurb-foundation-6
我几乎花了两三个小时搜索我的屁股.但要么我愚蠢地找到解决方案,要么到目前为止都没有.
第一件事:我不是Linux世界的专业人士,但这就是我所拥有的.
裸debian 8.5.0作为VirtualBox映像安装:
我安装了sudo,VBoxGuestAdditions,nodejs(v6.2.1),git和foundation-cli(v6).
所以,现在如果我正在尝试使用"基础新建"创建一个新的基础项目并选择"ZURB-template"选项,则安装将失败,并显示以下错误.
npm ERR! git rev-list -n1 4.0: fatal: ambiguous argument '4.0': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 4.0: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 4.0: 'git <command> [<revision>...] -- [<file>...]'
npm ERR! git rev-list -n1 4.0:
npm ERR! git rev-list -n1 4.0: fatal: ambiguous argument '4.0': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 4.0: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 4.0: 'git <command> [<revision>...] -- [<file>...]'
npm ERR! git rev-list -n1 4.0:
npm ERR! git clone --template=/home/dev/.npm/_git-remotes/_templates --mirror git@github.com:gulpjs/gulp-cli.git /home/dev/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-15c23bd3: Cloning into bare repository '/home/dev/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-15c23bd3'...
npm ERR! git clone --template=/home/dev/.npm/_git-remotes/_templates --mirror git@github.com:gulpjs/gulp-cli.git /home/dev/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-15c23bd3: Permission denied (publickey).
npm ERR! git clone --template=/home/dev/.npm/_git-remotes/_templates --mirror git@github.com:gulpjs/gulp-cli.git /home/dev/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-15c23bd3: fatal: Could not read from remote repository.
npm ERR! git clone --template=/home/dev/.npm/_git-remotes/_templates --mirror git@github.com:gulpjs/gulp-cli.git /home/dev/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-15c23bd3:
npm ERR! git clone --template=/home/dev/.npm/_git-remotes/_templates --mirror git@github.com:gulpjs/gulp-cli.git /home/dev/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-15c23bd3: Please make sure you have the correct access rights
npm ERR! git clone --template=/home/dev/.npm/_git-remotes/_templates --mirror git@github.com:gulpjs/gulp-cli.git /home/dev/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-15c23bd3: and the repository exists.
Run Code Online (Sandbox Code Playgroud)
也许我错过了一些必不可少的东西,所以不要犹豫,甚至给我最简单的建议.如果我想对这个进行正确的搜索,或者即使它在我面前就愚蠢地得到解决方案,只需sry:D
/编辑
小更新:我发现在我的计算机上安装了一个基于debian的bunsenlabs vm(前crunchbang).在这里,基础项目的安装和创建就像魅力一样.
所以我想,让我们用bunsenlabs安装一个新的vm并再试一次.因为它适用于旧的安装,它可以用于新的安装,对吗?错了......我无法理解这个问题.我很确定我没有对旧安装做任何特别的事情......
小智 7
我们也遇到了这个问题,并提出了与杰夫相同的解决方案.如果经验不足的人正在寻找更多方向,那么这是一步一步:
干杯
归档时间: |
|
查看次数: |
1608 次 |
最近记录: |