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

npm: Running TypeScript/tsc causes require is not defined #15898

Closed
jespertheend opened this issue Sep 13, 2022 · 0 comments · Fixed by #15900
Closed

npm: Running TypeScript/tsc causes require is not defined #15898

jespertheend opened this issue Sep 13, 2022 · 0 comments · Fixed by #15900
Labels
bug Something isn't working node compat

Comments

@jespertheend
Copy link
Contributor

$ deno run -A --unstable npm:typescript@4.8.3/tsc -V
error: Uncaught ReferenceError: require is not defined
    at file:///home/jesper/.cache/deno/npm/registry.npmjs.org/typescript/4.8.3/bin/tsc:2:1

Using deno 1.25.2+73efed2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working node compat
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants