Artigos de Node.js & JavaScript
Node.js & JavaScript 2,120
Getting a Node.js application running
Yes, there is Node.js on this hosting. It is not an extra you ask for, and it is not a VPS thing: it is in your...
Node.js & JavaScript 1,474
Node.js in cPanel: choosing the version and using npm
In cPanel, Node.js is set up under “Setup Node.js App”. The tool offers 13 versions, from 10.24.1 to 24.x, and each...
Node.js & JavaScript 1,397
Keeping a Node.js app running on a VPS with PM2
If you run node app.js in an SSH session, the application dies when the session closes, and does not return if the...
Node.js & JavaScript 1,223
Node.js app in cPanel returns 503: the usual causes
A 503 error on an application created under “Setup Node.js App” almost always means the same thing: the server tried...
Node.js & JavaScript 1,185
Deploying a Next.js app: static export or Node server, and where each one fits
Next.js can come out in two very different ways, and picking the wrong one lies behind almost every deployment...
Node.js & JavaScript 967
Publishing a React or Vue site: the build folder, and the refresh that gives a 404
A site built with React or Vue (with Vite or with the older tools) does not run on the server: you build it on your...
Node.js & JavaScript 962
Express says Cannot GET or returns 404 on every route: the causes
The message Cannot GET / is Express saying: “I received a GET request for this path and none of my routes or files...
Node.js & JavaScript 1,014
npm, yarn or pnpm: which to use, and why you keep only one lockfile
npm, yarn and pnpm do the same job: they install the libraries your project needs. The short answer: use the package...
Node.js & JavaScript 944
npm install fails with EACCES, ERESOLVE or out of memory: what to do
When npm install fails, the message is usually long, but the cause fits one of half a dozen families. The short...
Node.js & JavaScript 1,077
CORS error between your front end and your API: how to fix it
“Access to fetch at … has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present”. It is...
Node.js & JavaScript 1,163
WebSockets and Socket.IO: what to expect on cPanel and on a VPS
A chat, a dashboard that updates by itself, live notifications: all of these need a connection that stays open...
Node.js & JavaScript 1,199
Installing or upgrading Node.js on a VPS: distro package, NodeSource or nvm
You installed Node.js on a VPS and the version is too old for your project, or you need to move up. The short...
Node.js & JavaScript 836
Error listen EADDRINUSE address already in use: finding what holds the port
The application will not start and the message says Error: listen EADDRINUSE: address already in use :::3000. In...





