NodeJS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Added Trouble Shooting) |
||
| Line 32: | Line 32: | ||
* [https://github.com/solderjs/nodejs-ssl-example solderjs / nodejs-ssl-example @ GitHub] | * [https://github.com/solderjs/nodejs-ssl-example solderjs / nodejs-ssl-example @ GitHub] | ||
* [https://stackoverflow.com/questions/5998694/how-to-create-an-https-server-in-node-js How to create an HTTPS server in Node.js? @ stackoverflow] | * [https://stackoverflow.com/questions/5998694/how-to-create-an-https-server-in-node-js How to create an HTTPS server in Node.js? @ stackoverflow] | ||
== Trouble Shooting == | |||
=== Fixing "Error: libnode.so.108: cannot open shared object file: No such file or directory" === | |||
This can happen after an upgrade of NodeJS. | |||
cd to directory with app and execute | |||
npm clean-install | |||
[[Category:Linux]] | [[Category:Linux]] | ||
Latest revision as of 05:32, 10 June 2026
Installing
Using Snap
snap install node --classic
If at some later point you want to upgrade node.js, check the available channels first:
snap info node
Then use for example
snap refresh node --channel 16/stable
npm (node package manager) can be upgraded with this command:
npm install -g npm
Documentation
HTTPS
Examples
HTTPS
Trouble Shooting
This can happen after an upgrade of NodeJS. cd to directory with app and execute
npm clean-install