-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Typescript type check fails on linux #4387
Copy link
Copy link
Closed
Labels
- P3: minor bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)ecosystem: upstreamUpstream package has issueUpstream package has issue
Description
What version of astro are you using?
1.0.6
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Linux
Describe the Bug
tsc --noEmit does fail on linux (gitlab CI) but does work locally on macOS.
astro check works on both environments.
Here is the output issue from the CI:
$ tsc --noEmit
[43](https://gitlab.barberine.fr/joonca/joonca-website/-/jobs/2111#L43)node_modules/astro/client-base.d.ts(1,23): error TS2688: Cannot find type definition file for 'vite/types/importmeta'.
So looks like some casing issue, the file client-base.d.ts does have the proper case but it is somehow transformed at some point to a lowercase resolve that fails.
Link to Minimal Reproducible Example
n/a
Participation
- I am willing to submit a pull request for this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
- P3: minor bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)ecosystem: upstreamUpstream package has issueUpstream package has issue