Skip to content

Typescript tsc can not exclude node_modules/solid-start/ #255

@P233

Description

@P233

When running the tsc command at a new created project root, I got the following error messages. Even I have already added "skipLibCheck": true and "exclude": ["node_modules"] to tsconfig.json. Is it something with "types": ["vite/client"] ?

...

Found 5 errors in 4 files.

Errors  Files
     2  node_modules/solid-start/entry-client/StartClient.tsx:3
     1  node_modules/solid-start/entry-server/StartServer.tsx:5
     1  node_modules/solid-start/islands/server-router.tsx:126
     1  node_modules/solid-start/types.ts:14

New project created via:

npm init solid@next
✔ Which template do you want to use? › bare
✔ Server Side Rendering? … yes
✔ Use TypeScript? … yes

version: v0.1.0-alpha.99

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions