See Run from Local, and make sure you have the following settings for VSCode:
{
"files.trimTrailingWhitespace": true
}
Known Issues with NodeJS
Error: error:0308010C:digital envelope routines::unsupported
The error message would look like:
node:internal/crypto/hash:71
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:140:10)
…
Which is related to recent NodeJS versions and OpenSSL. It can be fixed by modifying package.json: