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

Cannot find type definition file for 'minio'. #1257

Closed
MaximDomanov opened this issue Jan 16, 2024 · 2 comments
Closed

Cannot find type definition file for 'minio'. #1257

MaximDomanov opened this issue Jan 16, 2024 · 2 comments

Comments

@MaximDomanov
Copy link

When start project in nestjs in console appears message -
Cannot find type definition file for 'minio'.
The file is in the program because:
Entry point for implicit type library 'minio'

My tsconfig

{
  "compilerOptions": {
    "module": "commonjs",
    "declaration": true,
    "removeComments": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "allowSyntheticDefaultImports": true,
    "target": "es2017",
    "sourceMap": true,
    "outDir": "./dist",
    "baseUrl": "src",
    "incremental": true,
    "skipLibCheck": true,
    "strictNullChecks": false,
    "noImplicitAny": false,
    "strictBindCallApply": false,
    "forceConsistentCasingInFileNames": false,
    "esModuleInterop": true,
    "noFallthroughCasesInSwitch": false
  },
  "exclude": ["node_modules", "dist"]
}

@IvanLi-CN
Copy link
Contributor

image

I tried adding this line and it doesn't report an error when building with tsc.

IvanLi-CN added a commit to IvanLi-CN/minio-js that referenced this issue Feb 27, 2024
@wulff007
Copy link

Hi, I fixed it
npm remove minio
npm install minio

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

4 participants