yo icon indicating copy to clipboard operation
yo copied to clipboard

Updates for Tutorial(codelab)

Open ShawnTe opened this issue 9 years ago • 12 comments

Thanks for the easy-to-follow tutorial!

A few minor discrepancies between the tutorial and actual response for update (totally not urgent, these did not prevent any functionality -- just wanted to help keep things current):

On http://yeoman.io/codelab/scaffold-app.html the following options in the CLI are missing from the tutorial page:

"Which Continuous Integration platform do you want? (Press to select) ❯◯ Travis ◯ CircleCi ◯ Jenkins (with Dockerfile) ◯ Wercker"

Then, asked for (in CLI): "Would you like a router? (Use arrow keys) ❯ React router None"

And on page: http://yeoman.io/codelab/local-storage.html Tis written: "We can confirm whether our data is being persisted to local storage by checking the Resources panel in Chrome DevTools and selecting Local Storage from the lefthand side:

In Chrome Dev Tools, this now is in (in mine anyways??): Application -- Storage -- Local Storage"

Cheers!

ShawnTe avatar Sep 29 '16 23:09 ShawnTe

@zckrs ^^

SBoudrias avatar Sep 29 '16 23:09 SBoudrias

Thank you @shawnte.

I will try to fix today.

zckrs avatar Sep 30 '16 06:09 zckrs

Thanks for making the time, @zckrs :)

addyosmani avatar Sep 30 '16 07:09 addyosmani

Hi,

This may warrant a new bug, but I thought I'd ask the thread. I was just working my way through that tutorial and it went fine until the build step (Step 8), any my build failed. I have confirmed that I'm using the latest version of node/npm, and yo version 1.8.5, basically a fresh install of everything.

Here's my npm log, and I'm happy to add any additional info.

npm-debug.txt

EricKramp avatar Feb 09 '17 19:02 EricKramp

Hi, I'm using yo version 1.8.5 and following strictly the tutorial, I always jump to this bug:

daniele@socrate /opt/projects/mytodo $ yo ? ========================================================================== We're constantly looking for ways to make yo better! May we anonymously report usage statistics to improve the tool over time? More info: https://github.com/yeoman/insight & http://yeoman.io ========================================================================== Yes ? 'Allo daniele! What would you like to do? Fountain Webapp

Make sure you are in the directory you want to scaffold into. This generator can also be run with: yo fountain-webapp

 _-----_     ╭───────────────────────╮
|       |    │      Bye from us!     │
|--(o)--|    │       Chat soon.      │

---------´ │ Yeoman team │ ( _´U_ ) │ http://yeoman.io │ /A\ /╰───────────────────────╯ | ~ |
'..'_
´ |° ´ Y

/home/daniele/.npm-packages/lib/node_modules/generator-fountain-webapp/node_modules/fountain-generator/lib/Base.js:21 const {framework, modules, js} = this.options; ^

SyntaxError: Unexpected token { at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:374:25) at Object.Module._extensions..js (module.js:417:10) at Module.load (module.js:344:32) at Function.Module._load (module.js:301:12) at Module.require (module.js:354:17) at require (internal/module.js:12:17) at Object. (/home/daniele/.npm-packages/lib/node_modules/generator-fountain-webapp/node_modules/fountain-generator/index.js:2:9) at Module._compile (module.js:410:26) at Object.Module._extensions..js (module.js:417:10)

dandymi avatar Feb 27 '17 22:02 dandymi

@dandymi You need to use Node version 4 or higher.

SBoudrias avatar Feb 28 '17 03:02 SBoudrias

daniele@socrate ~ $ node --version v4.2.6 daniele@socrate ~ $ npm --version 4.3.0

dandymi avatar Feb 28 '17 10:02 dandymi

You use a old node version.

Last LTS node 4

zckrs avatar Feb 28 '17 10:02 zckrs

Catching the same error as @dandymi Updated node to latest and went back all the way to node 4.

cblair32 avatar Mar 06 '17 21:03 cblair32

@cblair32 @dandymi - I had the exact same problem and I ended up uninstalling Node, NPM and NVM because i had older versions installed in odd locations

This stackoverflow was helpful (read all the answers) http://stackoverflow.com/questions/11177954/how-do-i-completely-uninstall-node-js-and-reinstall-from-beginning-mac-os-x

I reinstalled node/npm/nvm with brew and the tutorial works now

smcgarrigle avatar Mar 09 '17 22:03 smcgarrigle

Was getting same error as @dandymi

uninstalled node and installed latest version, from repair install and remove/clean option on windows, first did remove and then install.

Able to progress with steps now

Jogesh0x1 avatar Mar 23 '17 13:03 Jogesh0x1

I'm doing the tutorial now and have noticed the discrepancies @ShawnTe mentions are still there. I'm assuming the options I'm meant to select are none and none? It would be nice if that could be updated because I'm a complete Yeoman newbie and so got kinda foxed by this.

olliebaum avatar Feb 23 '18 00:02 olliebaum