Menu icon Foundation
Updating to get the Goodies with Foundation 2.1.0

I've been trying to update an existing project.  I thought the only thing I needed to do was update the package.json file (like I have below)

{
  "name": "foundation-emails-template",
  "version": "1.0.0",
  "description": "Basic template for a Foundation for Emails project.",
  "repository": "zurb/foundation-emails-template",
  "main": "gulpfile.babel.js",
  "scripts": {
    "start": "gulp",
    "build": "gulp --production",
    "zip": "gulp zip --production",
    "litmus": "gulp litmus --production"
  },
  "author": "ZURB <[email protected]>",
  "license": "MIT",
  "dependencies": {
    "foundation-emails": "2.1.0"
  },
  "devDependencies": {
    "babel-core": "^6.3.26",
    "babel-preset-es2015": "^6.3.13",
    "beepbeep": "^1.2.0",
    "browser-sync": "^2.11.0",
    "colors": "^1.1.2",
    "gulp": "git+https://github.com/gulpjs/gulp.git#4.0",
    "gulp-awspublish": "^3.0.1",
    "gulp-cli": "^1.1.0",
    "gulp-html-src": "^1.0.0",
    "gulp-htmlmin": "^1.1.1",
    "gulp-if": "^2.0.0",
    "gulp-imagemin": "^2.4.0",
    "gulp-inline-css": "^3.0.0",
    "gulp-litmus": "0.0.7",
    "gulp-load-plugins": "^1.1.0",
    "gulp-rename": "^1.2.2",
    "gulp-replace": "^0.5.4",
    "gulp-sass": "^2.1.0",
    "gulp-sourcemaps": "^1.6.0",
    "gulp-zip": "^3.2.0",
    "inky": "^1.3.3",
    "lazypipe": "^1.0.1",
    "merge-stream": "^1.0.0",
    "panini": "^1.3.0",
    "rimraf": "^2.3.3",
    "siphon-media-query": "^1.0.0",
    "yargs": "^4.1.0"
  }
}

After I've updated, I open cmd line and CD into the directory that has my project and run the following command: 
npm install

It appears to go through an update process. I then run foundation build and try to use some of the new tags, but the inliner isn't converting the the mark up. 

Any ideas on what I'm doing wrong? 

 

Updating Foundation For Emails 2.1.0

I've been trying to update an existing project.  I thought the only thing I needed to do was update the package.json file (like I have below)

{
  "name": "foundation-emails-template",
  "version": "1.0.0",
  "description": "Basic template for a Foundation for Emails project.",
  "repository": "zurb/foundation-emails-template",
  "main": "gulpfile.babel.js",
  "scripts": {
    "start": "gulp",
    "build": "gulp --production",
    "zip": "gulp zip --production",
    "litmus": "gulp litmus --production"
  },
  "author": "ZURB <[email protected]>",
  "license": "MIT",
  "dependencies": {
    "foundation-emails": "2.1.0"
  },
  "devDependencies": {
    "babel-core": "^6.3.26",
    "babel-preset-es2015": "^6.3.13",
    "beepbeep": "^1.2.0",
    "browser-sync": "^2.11.0",
    "colors": "^1.1.2",
    "gulp": "git+https://github.com/gulpjs/gulp.git#4.0",
    "gulp-awspublish": "^3.0.1",
    "gulp-cli": "^1.1.0",
    "gulp-html-src": "^1.0.0",
    "gulp-htmlmin": "^1.1.1",
    "gulp-if": "^2.0.0",
    "gulp-imagemin": "^2.4.0",
    "gulp-inline-css": "^3.0.0",
    "gulp-litmus": "0.0.7",
    "gulp-load-plugins": "^1.1.0",
    "gulp-rename": "^1.2.2",
    "gulp-replace": "^0.5.4",
    "gulp-sass": "^2.1.0",
    "gulp-sourcemaps": "^1.6.0",
    "gulp-zip": "^3.2.0",
    "inky": "^1.3.3",
    "lazypipe": "^1.0.1",
    "merge-stream": "^1.0.0",
    "panini": "^1.3.0",
    "rimraf": "^2.3.3",
    "siphon-media-query": "^1.0.0",
    "yargs": "^4.1.0"
  }
}

After I've updated, I open cmd line and CD into the directory that has my project and run the following command: 
npm install

It appears to go through an update process. I then run foundation build and try to use some of the new tags, but the inliner isn't converting the the mark up. 

Any ideas on what I'm doing wrong? 

 

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

Corey Schaaf over 3 years ago

I figured out what I was doing wrong.  I needed to run npm update instead of npm install.  After I did that, everything seems to be working fine.  None of my project settings got over written so - yay!