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

Check the nodejs and npm version first!!! #3

Open
xichen1 opened this issue Oct 3, 2021 · 2 comments
Open

Check the nodejs and npm version first!!! #3

xichen1 opened this issue Oct 3, 2021 · 2 comments

Comments

@xichen1
Copy link
Collaborator

xichen1 commented Oct 3, 2021

Before developing the front-end part on any machine(including windows, macos, ubuntu and xubuntu), please check if the nodejs and npm exist on this machine.

This issue will not be closed until everyone checked and updated the npm and nodejs version on their development and test machine! Once you finished your check and update, please reply with a "done" to this issue thread.

And you can always chat with me if there is any problem during the update and installation!

important notice

The versions of nodejs and npm are quite low on xubuntu machine, so you must update them to recent version so that we can use npm to install and use some modern dependencies!

You must update xubuntu's nodejs and npm because they are required for test!

And keeping everyone's npm/nodejs/development environment same is to limit the chance of facing some configuration problems.

nodejs version

To check nodejs's version, run node -v, it must be at least 14.0(current version is 14.18.0). If the nodejs's version is lower than that, you can run commands to update nodejs:

  • on Mac: brew install node or download and install from this link
  • on Ubuntu:
curl -sL https://deb.nodesource.com/setup_14.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh 
  • on Windows: go to this link and download the installer file.

npm version

To check npm version, run npm -v, it must be at least 7.0(current version is 7.24.1). I the npm 's version is too low, you can run sudo npm install -g npm@latest command to update npm.
If there is no npm at all, you may want to use brew or apt to install it and then check the version.

@xichen1
Copy link
Collaborator Author

xichen1 commented Oct 3, 2021

@Frieda0315
Copy link
Owner

done
Screen Shot 2021-10-13 at 6 10 09 PM

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

No branches or pull requests

2 participants