Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module 'typescript' #20

Open
hmz22 opened this issue Aug 1, 2022 · 2 comments
Open

Cannot find module 'typescript' #20

hmz22 opened this issue Aug 1, 2022 · 2 comments

Comments

@hmz22
Copy link

hmz22 commented Aug 1, 2022

I install this package and I used typescript in global and when run show error:
Error: Cannot find module 'typescript'

when I install typescript in project this error gone

@Brian-McBride
Copy link
Contributor

Yeah, it does require typescript to be installed.
It uses the typescript compiler to do type checking, as esbuild doesn't do anything.

Many people have gravitated to swc and it's become a first-class option in Nx. It also seems to support emitDecoratorMetadata.

@hmz22
Copy link
Author

hmz22 commented Aug 2, 2022

any sample for nodejs backend?
I use typegoose and typegraphql and for build and run I used esbuild.
Thanks for help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants