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

Bug : Cannot find module 'koa' during build #346

Open
uchar opened this issue Nov 14, 2024 · 0 comments
Open

Bug : Cannot find module 'koa' during build #346

uchar opened this issue Nov 14, 2024 · 0 comments

Comments

@uchar
Copy link

uchar commented Nov 14, 2024

Hi there,
When I try to build using tsc -p tsconfig.build.json, I get this error :

node_modules/graphql-upload-ts/dist/graphqlUploadKoa.d.ts:1:31 - error TS2307: Cannot find module 'koa' or its corresponding type declarations.

1 import { Context, Next } from 'koa';
                                ~~~~~

Found 1 error in node_modules/graphql-upload-ts/dist/graphqlUploadKoa.d.ts:1

Error will be fixed after installing koa but I dont need koa in my project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant