You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.
I am trying to install the Zurb Template Starter Package via Terminal but I keep getting npm errors. I am on MAC OS X El Capitan 10.11.5. My node version is: v6.2.1 and npm is: 3.9.3
Using: foundation new --framework sites --template zurb
Note: Installing just the basic template works fine.
Response:
Downloading the project template...
Done downloading!
Installing dependencies...
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=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-15c23bd3: Cloning into bare repository '/Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-15c23bd3'...
npm ERR! git clone --template=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-15c23bd3: Permission denied (publickey).
npm ERR! git clone --template=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-15c23bd3: fatal: Could not read from remote repository.
npm ERR! git clone --template=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-15c23bd3:
npm ERR! git clone --template=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.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=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-15c23bd3: and the repository exists.
There were some problems during the installation.
✓ New project folder created.
✗ Node modules not installed. Try running npm install manually.
✓ Bower components installed.
Then I try: npm install
AdministorsMBP4:doda andrewbiddinger$ npm install
(node:854) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
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=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb: Cloning into bare repository '/Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb'...
npm ERR! git clone --template=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb: Permission denied (publickey).
npm ERR! git clone --template=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb: fatal: Could not read from remote repository.
npm ERR! git clone --template=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb:
npm ERR! git clone --template=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb: Please make sure you have the correct access rights
npm ERR! git clone --template=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb: and the repository exists.
npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.2.1
npm ERR! npm v3.9.3
npm ERR! code 128
npm ERR! Command failed: git clone --template=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb
npm ERR! Cloning into bare repository '/Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb'...
npm ERR! Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /Users/andrewbiddinger/Documents/design-guide/doda/npm-debug.log
AdministorsMBP4:doda andrewbiddinger$ sudo npm install
(node:908) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
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=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb: Cloning into bare repository '/Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb'...
npm ERR! git clone --template=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb: Permission denied (publickey).
npm ERR! git clone --template=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb: fatal: Could not read from remote repository.
npm ERR! git clone --template=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb:
npm ERR! git clone --template=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb: Please make sure you have the correct access rights
npm ERR! git clone --template=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb: and the repository exists.
npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.2.1
npm ERR! npm v3.9.3
npm ERR! code 128
npm ERR! Command failed: git clone --template=/Users/andrewbiddinger/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp-cli.git /Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb
npm ERR! Cloning into bare repository '/Users/andrewbiddinger/.npm/_git-remotes/git-github-com-gulpjs-gulp-cli-git-4-0-799725fb'...
npm ERR! Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /Users/andrewbiddinger/Documents/design-guide/doda/npm-debug.log
The text was updated successfully, but these errors were encountered:
got the same problem. The solution:
to change in package.json line from "gulp": "git+https://github.com/gulpjs/gulp.git#4.0",
to "gulp": "git+https://github.com/gulpjs/gulp#v4.0.0",
and run npm i manually.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I am trying to install the Zurb Template Starter Package via Terminal but I keep getting npm errors. I am on MAC OS X El Capitan 10.11.5. My node version is: v6.2.1 and npm is: 3.9.3
Note: I tried the solution given in #622 by @gakimball (https://docs.npmjs.com/getting-started/fixing-npm-permissions) my "/.npm" "/usr/local" is owned by me. Any ideas?
Using: foundation new --framework sites --template zurb
Note: Installing just the basic template works fine.
Response:
Then I try: npm install
The text was updated successfully, but these errors were encountered: