Skip to content

Cannot find module @elysiajs/openapi/gen #236

@xkalf

Description

@xkalf
  1. Cannot find module '@elysiajs/openapi/gen' or its corresponding type declarations.
    There are types at '/Users/bilguuntamirsoronzontugs/code/autosync-v2/node_modules/@elysiajs/openapi/dist/gen/index.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'. [2307]
{
  "compilerOptions": {
    "target": "ES2021",
    "module": "ES2022",
    "moduleResolution": "node",
    "types": ["bun-types"],
    "outDir": "./dist/",
    "esModuleInterop": true,
    "forceConsistentCasingInFileNames": true,
    "strict": true,
    "skipLibCheck": true,
    "paths": {
      "@/*": ["./src/*"]
    },
    "strictNullChecks": true
  },
  "exclude": ["node_modules", "dist"]
}

i tried to change moduleResolution to node16 or nodenext but that breaking file imports

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions