Skip to content

Commit

Permalink
Update the warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy authored Jul 1, 2024
1 parent 88ae33d commit 05b1c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/bin/n8n
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ if (!globalThis.crypto?.getRandomValues) {
const picocolors = require('picocolors');
console.warn(
picocolors.red(`Your Node.js version does not support WebCrypto.
Please upgrade to the latest version of Node.js ${major(nodeVersion)}.`),
Please upgrade to the latest version of Node.js.`),
);
const { webcrypto } = require('node:crypto');
globalThis.crypto = webcrypto;
Expand Down

0 comments on commit 05b1c29

Please sign in to comment.