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

Add Node install/update instructions to prerequisites #1084

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

chalin
Copy link
Collaborator

@chalin chalin commented Jul 1, 2022

@chalin chalin requested a review from LisaFC July 1, 2022 16:11
@emckean
Copy link
Collaborator

emckean commented Jul 1, 2022

LGTM!

@emckean emckean merged commit a94f6f1 into google:main Jul 1, 2022
@mikeBoterf
Copy link
Contributor

mikeBoterf commented Jul 1, 2022

By recommending nvm to users, you're introducing another prereq.

here's what I had in my MR which is directly from nodejs:

Install

Ensure you have the latest LTS Version

Debian and Ubuntu based distributions

tl;dr

# Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
apt-get install -y nodejs

Enterprise Linux based distributions

tl;dr

# As root
curl -fsSL https://rpm.nodesource.com/setup_18.x | bash -

# No root privileges
curl -fsSL https://rpm.nodesource.com/setup_18.x | sudo bash -

@chalin chalin deleted the chalin-im-node-lts-2022-07-01 branch July 4, 2022 15:38
@chalin
Copy link
Collaborator Author

chalin commented Jul 4, 2022

Thanks for those details @mikeBoterf. You might consider sharing those details in a discussion so that others can more easily find them. (For now I'd rather keep such details out of the docs.)

@mikeBoterf
Copy link
Contributor

Cool. I’ll definitely do that next time. I agree that a discussion seems to be a more probable place

@prepstarr
Copy link

prepstarr commented Jul 5, 2022

does this work on computers running variants of Berkeley Systems Distribution? :) I guess with source code? https://cgit.freebsd.org/ports/tree/www/gohugo/pkg-descr they have the port for Hugo and likely all the components. It would be good to add it to the documentation... guten nacht , auf wiedersehen.. a bientot. if we can get side tracked a little bit if I remember clearly it's BSD day in 5 days...

@mikeBoterf
Copy link
Contributor

does this work on computers running variants of Berkeley Systems Distribution? :) I guess with source code? https://cgit.freebsd.org/ports/tree/www/gohugo/pkg-descr they have the port for Hugo and likely all the components. It would be good to add it to the documentation... guten nacht , auf wiedersehen.. a bientot. if we can get side tracked a little bit if I remember clearly it's BSD day in 5 days...

I’d refer you back to the docs. You can install Hugo from a tar ball.. refer to Hugo docs for that. Docsy is a theme so installing it is dependent on node and other items listed in the docs. So really you should determine if you can install the prerequisites for docsy, then things should work normally, BUT there are no guarantees.

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

Successfully merging this pull request may close these issues.

Document prerequisite of the latest Node LTS
4 participants