Foundation-emails: [Getting Started with Sass] unable to install correctly

Created on 4 Dec 2018  Â·  5Comments  Â·  Source: foundation/foundation-emails

Hello !
I'm not able to install correctly the email framework.
I tried by using founction-cli and by cloning the repo but both end with the same issue.

Thanks for any help !!

How can we reproduce this bug?
run foundation new --framework emails
name the project "crtsaver"
✗ Node modules not installed. Try running npm install manually.

foundation-emails_1-2
run npm i in the crtsaver folder
npm ERR! Command failed: C:\Program Files\Git\cmd\git.EXE checkout 4.0
npm ERR! error: pathspec '4.0' did not match any file(s) known to git

foundation-emails_2-2

What did you expect to happen?
The project template will be downloaded, and the various dependencies installed

What happened instead?
The project template is downloaded, but the various dependencies are not istalled

Most helpful comment

@LyLuX, Hi.

You can fix it by editing a few strings of devDependencies object in gulpfile.js as follows:

"gulp": "^4.0.0", and "gulp-sass": "^3.2.1".

All 5 comments

change the gulp devDependencies to "gulp": "4.0",. Then run npm install, this will install gulp correctly as it was not finding gulp v4.0.

@LyLuX, Hi.

You can fix it by editing a few strings of devDependencies object in gulpfile.js as follows:

"gulp": "^4.0.0", and "gulp-sass": "^3.2.1".

A known problem as we used a tag instead of a version and the Gulp team removed it. The previous comments should solve this.

Hi guys !

Thanks for your answers, it works !

Was going to create a PR but it seems someone beat me to it by three months.

https://github.com/zurb/foundation-emails-template/pull/56

Who has the authority to accept and merge?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dnglr picture dnglr  Â·  5Comments

stevesmename picture stevesmename  Â·  3Comments

camaech picture camaech  Â·  5Comments

GBratsos picture GBratsos  Â·  4Comments

joshvito picture joshvito  Â·  5Comments