Unexpected reserved word

Hi everyone,

We use typescript as coding on the server side in Nakama. Unfortunately, whenever we need to install an extra package, we always get the reserved words error. I simply can’t even install and use this (npm install --save @types/jsonwebtoken ). Is there anything that can cover the reserved word error in any way?

Hi @emredarak

Please share the full error log that you are seeing so we can help investigate your issue.

It’s worth noting that our JavaScript server runtime does not run in a Node environment and therefore we do not support packages that rely on it. It looks as though the package you’re trying to use relies on node-jws and in turn relies on Node’s Crypto package - so this will not work.

For more information please see the TypeScript Compatibility documentation.