-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
add --lang option to tutorial fixes issue #173 #174
Conversation
@fozy81 Let's ask Godfrey (@chancancode) to help with reviewing the PR. I think there's a way to test the changes locally and Godfrey may be able to help better how you can do so. |
Co-authored-by: Isaac Lee <16869656+ijlee2@users.noreply.github.com>
Thanks @ijlee2 I've included your suggestion and corrected slight typo |
thanks for the PR! I thought the original plan is to use the interactive mode for this, has that changed? |
Hi @chancancode - I'm new to this repo, how do I run the interactive mode? |
Sorry, I meant the interactive ember new ("wizard") mode in emberjs/rfcs#638 which was merged around the same time IIRC |
@chancancode Hmm, I'm not sure. I don't think I remember a plan to combine teaching I think @fozy81 made the PR based only on the Would you recommend making a pull request that covers both at the same time for the tutorial? If so, maybe we can provide @fozy81 specifics on how we might do that. |
@fozy81 I found the Discord chat where Godfrey had explained to me how to check changes locally. I think these are the commands that you will want to run: # Use Node 12.18 (version 14 resulted in an error for me) and install packages
nvm use 12.18.3
yarn install
# Build the dist directory
yarn build @chancancode The Stack Trace and Error Report: /var/folders/2z/93zyyhx13rs879qr8rzyxrb40000gn/T/error.dump.a13c49292d2dbf43f2aeec1a83f7670c.log
at ChildProcess.exithandler (child_process.js:303:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12) {
killed: false,
code: 1,
signal: null,
cmd: 'ember new super-rentals --lang en --yarn',
stdout: "The option '--lang' is not registered with the 'new' command. Run `ember new --help` for a list of supported options.\n" +
'installing app\n' +
'Ember CLI v3.19.0\n' +
'\n' +
'Creating a new Ember app in /Users/isaac/Desktop/super-rentals-tutorial/dist/code/super-rentals:\n' +
'The globPattern "en" did not match any files, so no file updates will be made.\n' +
'WARNING: Skipping npm install: package.json not found\n' +
'\n' +
'Initializing git repository.\n' +
'Error creating new application. Removing generated directory `./super-rentals`\n',
stderr: 'Command failed: git commit -m Initial Commit from Ember CLI v3.19.0\n' + Do we need to be worried about this error? I think the error may be because we are trying to run |
Yes The error you encountered is because of the lock file locked |
The general idea is that we don't want to teach the users a lot of different flags that they are supposed to remember. |
@ijlee2 @chancancode Thanks for the useful background for running the super-rentals tutorial locally. I was proceeding on the --lang RFC and associated github issues. But I see the wizard RFC is interesting approach. Either way, I'll try to help out where I can. |
I re-rolled the dependencies in #175, so if you pull and rebase that issue should go away now. |
@ijlee2 thanks for taking care of the PRs, do you have time to pair on “deploying” this during the week? It mostly just amounts to merging the PR in guides source but I just wanted to let you know about the issues with the images. Otherwise we can do this asynchronously too |
@chancancode Yep, definitely I'm up for pairing. I'm CET time zone so if we can meet around noon your time, that'd be good. Let's finalize the date and time through Discord? |
Closes #173.