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

bug in vercel production, but development environment is OK #1873

Closed
icai opened this issue Feb 19, 2024 · 1 comment
Closed

bug in vercel production, but development environment is OK #1873

icai opened this issue Feb 19, 2024 · 1 comment

Comments

@icai
Copy link

icai commented Feb 19, 2024

Cannot find global type 'Array'.

Cannot find global type 'Boolean'.

Cannot find global type 'Function'.

Cannot find global type 'IArguments'.

Cannot find global type 'Number'.

Cannot find global type 'Object'.

Cannot find global type 'RegExp'.

Cannot find global type 'String'.

File '/var/task/node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.d.ts' not found.
  The file is in the program because:
    Default library for target 'es5'

try to chrome F12 see this url https://tools.w3cub.com/typescript-to-json-schema

@domoritz
Copy link
Member

Looks like you are running the typescript code. You need to compile to JavaScript to run the package or run with ts node.

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