Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for Tutorial(codelab) #841

Closed
ShawnTe opened this issue Sep 29, 2016 · 13 comments
Closed

Updates for Tutorial(codelab) #841

ShawnTe opened this issue Sep 29, 2016 · 13 comments
Labels

Comments

@ShawnTe
Copy link

ShawnTe commented Sep 29, 2016

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!

@SBoudrias
Copy link
Member

@zckrs ^^

@zckrs
Copy link
Member

zckrs commented Sep 30, 2016

Thank you @ShawnTe.

I will try to fix today.

@zckrs zckrs self-assigned this Sep 30, 2016
@addyosmani
Copy link
Member

Thanks for making the time, @zckrs :)

@EricKramp
Copy link

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

@dandymi
Copy link

dandymi commented Feb 27, 2017

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)

@SBoudrias
Copy link
Member

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

@dandymi
Copy link

dandymi commented Feb 28, 2017

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

@zckrs
Copy link
Member

zckrs commented Feb 28, 2017

You use a old node version.

Last LTS node 4

@cblair32
Copy link

cblair32 commented Mar 6, 2017

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

@smcgarrigle
Copy link

@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

@Jogesh0x1
Copy link

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

@olliebaum
Copy link

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.

@JoshuaKGoldberg
Copy link
Contributor

The Codelab tutorial generally needs a major update, as noted in #789. We'll have to holistically overhaul them. Closing this out as a subset / duplicate of #789 since that'll capture this work. Cheers! 🎩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests