gilbertfl / flightplan

Search for award inventory using Node.js and Headless Chrome!
Apache License 2.0
0 stars 0 forks source link

Change the prerequisites for Ubuntu #4

Open gilbertfl opened 3 years ago

gilbertfl commented 3 years ago

The prerequisites in the setup page uses cUrl to change the node.js+npm version.

This locks the system to the version, and the syntax is unnecessarily complicated. Also, apt panics and aborts system updates because node.js is in some dev version.

Maybe use nvm or some other tool that does not panic apt when Ubuntu tries to install updates.

gilbertfl commented 3 years ago

As a side-quest, add yarn in the setup page. sudo npm install -g yarn

gilbertfl commented 3 years ago

nvm is the official node.js version manager. Same timeline, great choice. Repo for nvm