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

3.0.0-alpha.1: missing dependency / types for okie #8249

Closed
7 tasks done
benmccann opened this issue May 20, 2022 · 0 comments · Fixed by #8257
Closed
7 tasks done

3.0.0-alpha.1: missing dependency / types for okie #8249

benmccann opened this issue May 20, 2022 · 0 comments · Fixed by #8257

Comments

@benmccann
Copy link
Collaborator

benmccann commented May 20, 2022

Describe the bug

Cannot find module 'okie' or its corresponding type declarations.

The okie package appears to have types, but is not being bundled for some reason. Vite's dist/node/index.d.ts has:

import type { Worker as Worker_2 } from 'okie';

Reproduction

https://github.com/sveltejs/kit/tree/vite-3

System Info

Vite 3.0.0-alpha.1

Used Package Manager

pnpm

Logs

Error: node_modules/.pnpm/vite@3.0.0-alpha.1/node_modules/vite/dist/node/index.d.ts(50,41): error TS2307: Cannot find module 'okie' or its corresponding type declarations.
Error: node_modules/.pnpm/vite@3.0.0-alpha.1/node_modules/vite/types/importGlob.d.ts(1,29): error TS2307: Cannot find module 'okie' or its corresponding type declarations.

Validations

@poyoho poyoho mentioned this issue May 21, 2022
9 tasks
@github-actions github-actions bot locked and limited conversation to collaborators Jun 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant