Articles tagged in: Node.js



Node.js — Show Your NODE_MODULE_VERSION

Switching to a new Node.js major version requires you to freshly install dependencies. You may receive the following error when forgetting to re-install dependencies: Error: The module '/home/futurestudio/projects/futurestud.io/node_modules/bcrypt/lib/binding/bcrypt_lib.node' was compiled against a different Node.js version …

Continue Reading

Node.js — Calculate a SHA512 Hash

Node.js has the built-in crypto module that allows you to calculate hashes. To calculate a hash, Node.js uses a bundled version of OpenSSL for cryptographic functions. You don’t have to interact with these cryptographic functions directly. The node:crypto module wraps OpenSSL’s features with a clean …

Continue Reading

PM2 — Use TSX to Start Your App

We migrated the code running the superchargejs.com website from CommonJS to ESM. The CommonJS project used ts-node in combination with SWC to run the code. But ts-node isn’t working with TypeScript and ESM (there’s an open issue). We can’t use ts-node because of the mentioned issue …

Continue Reading
Page 1 of 42

Explore the Library

Find interesting tutorials and solutions for your problems.