foundation for emails can't create new project with npm error
up vote
0
down vote
favorite
I'm new to foundation and trying to start foundation for emails sass version. I installed foundation-cli by npm globally with this version:
Foundation CLI version 2.2.5
Then I cd to an empty folder and try start a tester project by the following command
foundation new --framework emails
The project setup failed:
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 [...] --
[...]' npm ERR! git rev-list -n1 4.0:
There were some problems during the installation.
✓ New project folder created. ✗ Node modules not installed. Try
running npm install manually. ✓ Bower components installed.
so I cd to the newly created project folder and npm install. It still failed.
npm ERR! code 1 npm ERR! Command failed: /usr/bin/git checkout 4.0 npm
ERR! error: pathspec '4.0' did not match any file(s) known to git. npm
Can anyone give me a hint how to resolve it??
npm zurb-foundation
add a comment |
up vote
0
down vote
favorite
I'm new to foundation and trying to start foundation for emails sass version. I installed foundation-cli by npm globally with this version:
Foundation CLI version 2.2.5
Then I cd to an empty folder and try start a tester project by the following command
foundation new --framework emails
The project setup failed:
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 [...] --
[...]' npm ERR! git rev-list -n1 4.0:
There were some problems during the installation.
✓ New project folder created. ✗ Node modules not installed. Try
running npm install manually. ✓ Bower components installed.
so I cd to the newly created project folder and npm install. It still failed.
npm ERR! code 1 npm ERR! Command failed: /usr/bin/git checkout 4.0 npm
ERR! error: pathspec '4.0' did not match any file(s) known to git. npm
Can anyone give me a hint how to resolve it??
npm zurb-foundation
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm new to foundation and trying to start foundation for emails sass version. I installed foundation-cli by npm globally with this version:
Foundation CLI version 2.2.5
Then I cd to an empty folder and try start a tester project by the following command
foundation new --framework emails
The project setup failed:
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 [...] --
[...]' npm ERR! git rev-list -n1 4.0:
There were some problems during the installation.
✓ New project folder created. ✗ Node modules not installed. Try
running npm install manually. ✓ Bower components installed.
so I cd to the newly created project folder and npm install. It still failed.
npm ERR! code 1 npm ERR! Command failed: /usr/bin/git checkout 4.0 npm
ERR! error: pathspec '4.0' did not match any file(s) known to git. npm
Can anyone give me a hint how to resolve it??
npm zurb-foundation
I'm new to foundation and trying to start foundation for emails sass version. I installed foundation-cli by npm globally with this version:
Foundation CLI version 2.2.5
Then I cd to an empty folder and try start a tester project by the following command
foundation new --framework emails
The project setup failed:
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 [...] --
[...]' npm ERR! git rev-list -n1 4.0:
There were some problems during the installation.
✓ New project folder created. ✗ Node modules not installed. Try
running npm install manually. ✓ Bower components installed.
so I cd to the newly created project folder and npm install. It still failed.
npm ERR! code 1 npm ERR! Command failed: /usr/bin/git checkout 4.0 npm
ERR! error: pathspec '4.0' did not match any file(s) known to git. npm
Can anyone give me a hint how to resolve it??
npm zurb-foundation
npm zurb-foundation
asked Nov 11 at 4:39
rollerCoaster
11
11
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
I had the same error.
First install gulp manually following these steps
https://gulpjs.org/getting-started.html.
Then if you get an error saying VCBuildtools arent't installed. Install them via
choco install vcbuildtools
After that it should work.
Thanks! I found it's the gulp problem as well. install it separately and it worked.
– rollerCoaster
Nov 16 at 20:57
Glad I could help.
– Gucksen
Nov 19 at 8:42
add a comment |
up vote
0
down vote
The problem is that there was once an 4.0 tag for Gulp but it was deleted. Just run npm i gulp@next --save-dev
or npm i gulp@4.0.0 --save-dev
.
It was fixed in https://github.com/zurb/foundation-zurb-template/commit/a4472d7fc2409b43bbdc4df4dead7eb5e8e0e691 (see the change in package.json).
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I had the same error.
First install gulp manually following these steps
https://gulpjs.org/getting-started.html.
Then if you get an error saying VCBuildtools arent't installed. Install them via
choco install vcbuildtools
After that it should work.
Thanks! I found it's the gulp problem as well. install it separately and it worked.
– rollerCoaster
Nov 16 at 20:57
Glad I could help.
– Gucksen
Nov 19 at 8:42
add a comment |
up vote
0
down vote
I had the same error.
First install gulp manually following these steps
https://gulpjs.org/getting-started.html.
Then if you get an error saying VCBuildtools arent't installed. Install them via
choco install vcbuildtools
After that it should work.
Thanks! I found it's the gulp problem as well. install it separately and it worked.
– rollerCoaster
Nov 16 at 20:57
Glad I could help.
– Gucksen
Nov 19 at 8:42
add a comment |
up vote
0
down vote
up vote
0
down vote
I had the same error.
First install gulp manually following these steps
https://gulpjs.org/getting-started.html.
Then if you get an error saying VCBuildtools arent't installed. Install them via
choco install vcbuildtools
After that it should work.
I had the same error.
First install gulp manually following these steps
https://gulpjs.org/getting-started.html.
Then if you get an error saying VCBuildtools arent't installed. Install them via
choco install vcbuildtools
After that it should work.
answered Nov 16 at 17:28
Gucksen
63
63
Thanks! I found it's the gulp problem as well. install it separately and it worked.
– rollerCoaster
Nov 16 at 20:57
Glad I could help.
– Gucksen
Nov 19 at 8:42
add a comment |
Thanks! I found it's the gulp problem as well. install it separately and it worked.
– rollerCoaster
Nov 16 at 20:57
Glad I could help.
– Gucksen
Nov 19 at 8:42
Thanks! I found it's the gulp problem as well. install it separately and it worked.
– rollerCoaster
Nov 16 at 20:57
Thanks! I found it's the gulp problem as well. install it separately and it worked.
– rollerCoaster
Nov 16 at 20:57
Glad I could help.
– Gucksen
Nov 19 at 8:42
Glad I could help.
– Gucksen
Nov 19 at 8:42
add a comment |
up vote
0
down vote
The problem is that there was once an 4.0 tag for Gulp but it was deleted. Just run npm i gulp@next --save-dev
or npm i gulp@4.0.0 --save-dev
.
It was fixed in https://github.com/zurb/foundation-zurb-template/commit/a4472d7fc2409b43bbdc4df4dead7eb5e8e0e691 (see the change in package.json).
add a comment |
up vote
0
down vote
The problem is that there was once an 4.0 tag for Gulp but it was deleted. Just run npm i gulp@next --save-dev
or npm i gulp@4.0.0 --save-dev
.
It was fixed in https://github.com/zurb/foundation-zurb-template/commit/a4472d7fc2409b43bbdc4df4dead7eb5e8e0e691 (see the change in package.json).
add a comment |
up vote
0
down vote
up vote
0
down vote
The problem is that there was once an 4.0 tag for Gulp but it was deleted. Just run npm i gulp@next --save-dev
or npm i gulp@4.0.0 --save-dev
.
It was fixed in https://github.com/zurb/foundation-zurb-template/commit/a4472d7fc2409b43bbdc4df4dead7eb5e8e0e691 (see the change in package.json).
The problem is that there was once an 4.0 tag for Gulp but it was deleted. Just run npm i gulp@next --save-dev
or npm i gulp@4.0.0 --save-dev
.
It was fixed in https://github.com/zurb/foundation-zurb-template/commit/a4472d7fc2409b43bbdc4df4dead7eb5e8e0e691 (see the change in package.json).
answered Nov 21 at 16:31
Daniel Ruf
4,15373691
4,15373691
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53245899%2ffoundation-for-emails-cant-create-new-project-with-npm-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown