Cannot find module ‘ts-transformer-keys’. Did you mean to set the ‘moduleResolution’ option to ‘node’, or to add aliases to the ‘paths’ option?

this error message tell how to fix this problem, the typescript default module resolution is classic, this would not search from node_modules. That why tell you did not found the module that in the node_modules folder. more info you can read from here: https://www.typescriptlang.org/docs/handbook/module-resolution.html, so fix your problem, try add this config in the tsconfig.json file:

"moduleResolution":"node",

Leave a Comment