-
Notifications
You must be signed in to change notification settings - Fork 46
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
Update nodejs version on readme instructions #71
Conversation
Co-authored-by: Michael <michael.cs08@nycu.edu.tw>
Co-authored-by: Michael <michael.cs08@nycu.edu.tw>
Co-authored-by: Michael <michael.cs08@nycu.edu.tw>
As suggested by @andy89923 in free5gc#71 (comment) corepack needs to be called to setup yarn Later, yarn is used to build the webconsole module
Following the discussion on free5gc#71 and according to the comment free5gc#71 (comment) as yarn will be setup by corepack, there's no need to install it manually anymore
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.
LGTM
It's necessary to give permission for corepack to install/edit binary files on system /usr/bin folder
While testing free5gc, I found that root permission is necessary in order to allow corepack to correctly setup its environment on To fix this behavior, it's only a matter of appending Regards, Leo. |
According to what was discussed on this PR free5gc/webconsole#71 on webconsole repo, corepack requires permission to correctly setup its files
Hello,
When building webconsole from scratch using nodejs packed by Ubuntu's official package repositories, I ran into the same issue as the one described here: #25
When trying to follow the instructions on the README file, I received a deprecation warning from nodejs script. Then, according to this document here, the currently supported versions of nodejs are 18, 19 and 20. From the information of this other issue here on the free5gc main repo by me, I chose to install version 18.x and then webconsole built successfully.
This PR will update the instructions on the readme file on this repo too
PS: ASAP I'll update the instructions on the free5gc guide so we have the most up to date information in both places
TIA