bcherny/json-schema-to-typescript

bug in vercel production, but development environment is OK

Closed this issue · 1 comments

icai commented
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

icai commented

error report