Menu icon Foundation
Update Foundation in Yeti Launch

Anyone know how to update Foundation 6 and all its components to the latest version in the Yeti Launch? What command should I use?

yeti launchfoundation 6

Anyone know how to update Foundation 6 and all its components to the latest version in the Yeti Launch? What command should I use?

Erik M about 4 years ago

Hey J,

We updated the projects and released the new version at http://foundation.zurb.com/develop/yeti-launch.html.

After you grab the new versions you can always just drop into your projects and use bower update to get the latest version.

Thanks for your patience,
Erik

J. about 4 years ago

I'm new to SCSS and still not familiar with the commands, not sure if I have did it right. I follow the instruction under "How to update" in http://foundation.zurb.com/sites/docs/v/5.5.3/sass.html#cli :

I skipped the Step 1 as I couldn't find the version number in my bower.json:

{
"name": "foundation-ssg",
"version": "1.0.0",
"authors": [
"ZURB [email protected]"
],
"description": "Static site generator for Foundation for Sites.",
"main": "gulpfile.js",
"license": "MIT",
"ignore": [
"*/.",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"foundation-sites": "zurb/foundation-sites-6#develop",
"motion-ui": "~1.1.0"
},
"private": true
}

I entered the command "bower update" into Yeti Launch but no result returned.

And then I head to check the file "bower.json" under bower_components > foundation-sites but I still see the version is "6.0.0-alpha.1".

{
"name": "foundation-sites",
"version": "6.0.0-alpha.1",
"main": [
"css/foundation.css",
"css/foundation.css.map",
"js/foundation.js"
],
"ignore": [
"config",
"docs",
"lib",
"spec"
],
"dependencies": {
"jquery": ">= 2.1.0",
"what-input": "~1.1.2"
},
"private": true
}

Stuart McAlpine almost 4 years ago

I was just experiencing similar issues with Yeti Launch.

I found that my bower_components/foundation-sites/.bower.json file was incorrectly using https://github.com/zurb/foundation-sites-6 which only has 1 release (6.0.0 Alpha 1).

 {
  "name": "foundation-sites",
  "main": [
    "css/foundation.css",
    "css/foundation.css.map",
    "js/foundation.js"
  ],
  "ignore": [
    "config",
    "docs",
    "lib",
    "spec"
  ],
  "dependencies": {
    "jquery": ">= 2.1.0",
    "what-input": "~1.1.2"
  },
  "private": true,
  "homepage": "https://github.com/zurb/foundation-sites-6",
  "_release": "299348e091",
  "_resolution": {
    "type": "branch",
    "branch": "develop",
    "commit": "299348e09164934672916af15bef32239bc9adec"
  },
  "_source": "git://github.com/zurb/foundation-sites-6.git",
  "_target": "develop",
  "_originalSource": "zurb/foundation-sites-6"
}

It appears that it should have been using https://github.com/zurb/foundation-sites instead as this has more releases including the most recent 6.0.6 release I wanted.

After reinstalling a freshly-downloaded Yeti Launch app and setting up a new project it now uses the correct repo (6.0.3 release) so instead of fixing the issue I'm just starting again with a new project and copying the files into it.

To force-update to the latest version you can try:

bower update foundation-sites -F

It now works OK for me. :)