Menu icon Foundation
Error Creating project from Zurb template

Basic template sets up fine when running foundation new on command line.

However if I select Zurb template on running foundation new I get the following errors:

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>...]'

 

node bower gulp and foundation all installed as per documentation.

Any advice would be highly appreciated.

foundation-clizurb-template

Basic template sets up fine when running foundation new on command line.

However if I select Zurb template on running foundation new I get the following errors:

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>...]'

 

node bower gulp and foundation all installed as per documentation.

Any advice would be highly appreciated.

This post has been closed. No new replies can be added.

Rafi Benkual about 3 years ago

Sometimes npm messes up the install of a dependancy. Try deleting node_modules and try running `npm install`

Rahim Premji about 3 years ago

Had to clone the zurb template using git and edit the json file as per the the instructions below:

http://stackoverflow.com/questions/37829902/foundation-project-creation-fails-with-npm-err-git-rev-list-on-debian-8-5-0

Found many people facing this issue on the github.