-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
download: fix nvm instructions #7434
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (1)
- apps/site/snippets/en/download/nvm.bash: Language not supported
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
782ddd5
to
64b571e
Compare
64b571e
to
7f11954
Compare
Lighthouse Results
|
i'd like to fast track this before the weekend - any concerns? |
I'm now getting a 500 Internal Server Error https://nodejs.org/en/download Will this sort itself out or does it need intervention? |
@ljharb you broke the downloads page haha -- Did you test this locally before making a PR? |
Ive reverted these changes. |
I’m confused how i could have; isn’t this file just text that’s inlined into the page? I indeed didn’t test it locally :-/ I’ll get another PR ready and I’ll test it locally first this time. |
It is because of the ${} -- acorn will handle that as a variable The whole contents of these bash files get parsed as if they are template strings. So you need to escape the $ I think. |
ahhh ok thanks, that makes sense. I’ll try to add a ci test too that would have caught this. |
neither did I - lesson learned! more evidence for #7395 |
Thanks to all of you who are involved here! |
* fix: don’t hardcode 3000; use the actual port * download: fix nvm instructions (#7434)
Description
add "source nvm.sh" to the instructions
Validation
because this is how nvm works
Related Issues
Fixes #7433
Check List
npm run format
to ensure the code follows the style guide.npm run test
to check if all tests are passing.npx turbo build
to check if the website builds without errors.