Giter Site home page Giter Site logo

Comments (26)

kirankrish792 avatar kirankrish792 commented on June 16, 2024 60

yarn

"resolutions": {
"@types/mime": "3.0.4"
}

npm

"overrides": {
"@types/mime": "3.0.4"
}

from firebase-admin-node.

hozeeee avatar hozeeee commented on June 16, 2024 19

更新@types/[email protected] 导致了我的问题,您可以通过强制解析@3.0.4 来解决。

怎么强行呢。因为我没有安装@types/[email protected]

add to package.json :

"resolutions": {
"@types/mime": "3.0.4"
}

from firebase-admin-node.

sovattha avatar sovattha commented on June 16, 2024 13

yarn add @types/mime@3 worked for me.

from firebase-admin-node.

thaoula avatar thaoula commented on June 16, 2024 11

I am not sure what the issue with @types/mime is yet. But to get around this temporariliy add the following to package json

"overrides": {
"@types/mime": "3.0.4"
}

from firebase-admin-node.

mcrawshaw avatar mcrawshaw commented on June 16, 2024 3

Update to @types/[email protected] caused the issue for me, you can resolve by forcing resolution of @3.0.4.

from firebase-admin-node.

lahirumaramba avatar lahirumaramba commented on June 16, 2024 3

Thanks folks for flagging this issue. I believe DefinitelyTyped/DefinitelyTyped#69231 should fix it, and from what I understand there is no fix to be made in this repository.

from firebase-admin-node.

shadoworion avatar shadoworion commented on June 16, 2024 2

DefinitelyTyped/DefinitelyTyped#69231 - Already fixed

from firebase-admin-node.

maanoel avatar maanoel commented on June 16, 2024 1

Works here very well, thanks!

 "resolutions": {
    "@types/mime": "3.0.4"
}

from firebase-admin-node.

google-oss-bot avatar google-oss-bot commented on June 16, 2024

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

from firebase-admin-node.

tbtrung-1768 avatar tbtrung-1768 commented on June 16, 2024

Update to @types/[email protected] caused the issue for me, you can resolve by forcing resolution of @3.0.4.

How to force it. Because i not install @types/[email protected]

from firebase-admin-node.

mcrawshaw avatar mcrawshaw commented on June 16, 2024

from firebase-admin-node.

HossamMarey avatar HossamMarey commented on June 16, 2024

just download an older version of @types/mime

from firebase-admin-node.

tbtrung-1768 avatar tbtrung-1768 commented on June 16, 2024

just download an older version of @types/mime

Because i don't have install @types/mime. I just use
@apollo/server > @types/express > @types/serve-static > @types/[email protected]
I can't know hot to force to version 3.2. Please help me. It very important for me

from firebase-admin-node.

mjnothing2021 avatar mjnothing2021 commented on June 16, 2024

更新@types/[email protected] 导致了我的问题,您可以通过强制解析@3.0.4 来解决。

怎么强行呢。因为我没有安装@types/[email protected]

add to package.json :

"resolutions": { "@types/mime": "3.0.4" }

Thank you so much, you save my life.

from firebase-admin-node.

Haru-Kazumoto avatar Haru-Kazumoto commented on June 16, 2024

更新@types/[email protected] 导致了我的问题,您可以通过强制解析@3.0.4 来解决。

怎么强行呢。因为我没有安装@types/[email protected]

add to package.json :

"resolutions": { "@types/mime": "3.0.4" }

This working fine to me, Thank you so much

from firebase-admin-node.

dtduong30 avatar dtduong30 commented on June 16, 2024

更新@types/[email protected] 导致了我的问题,您可以通过强制解析@3.0.4 来解决。

怎么强行呢。因为我没有安装@types/[email protected]

add to package.json :

"resolutions": { "@types/mime": "3.0.4" }

This solution has made my day! Thank you so much.

from firebase-admin-node.

thebiltheory avatar thebiltheory commented on June 16, 2024

If you check @types/mime: 4.0.0 in your node_modules. It's just empty.
Thanks @thaoula

from firebase-admin-node.

nyakamwe avatar nyakamwe commented on June 16, 2024

更新@types/[email protected] 导致了我的问题,您可以通过强制解析@3.0.4 来解决。

怎么强行呢。因为我没有安装@types/[email protected]

add to package.json :

"resolutions": { "@types/mime": "3.0.4" }

This solved the issue for me, Thanks.

from firebase-admin-node.

jadilson12 avatar jadilson12 commented on June 16, 2024

更新@types/[email protected] 导致了我的问题,您可以通过强制解析@3.0.4 来解决。

怎么强行呢。因为我没有安装@types/[email protected]

add to package.json :

"resolutions": { "@types/mime": "3.0.4" }
Thanks.

from firebase-admin-node.

micalevisk avatar micalevisk commented on June 16, 2024

I guess @types/mime v4.0.0 is broken or something?

image

Here's how v3.x looks like:

image

from firebase-admin-node.

shadoworion avatar shadoworion commented on June 16, 2024

I guess @types/mime v4.0.0 is broken or something?

image

Here's how v3.x looks like:

image

It's not broken. It's deprecated.
mime@4 already include types, so you don't need @types/mime anymore

from firebase-admin-node.

RathiAnkxrx avatar RathiAnkxrx commented on June 16, 2024

Not working for me, any other solution?

from firebase-admin-node.

nekoya avatar nekoya commented on June 16, 2024

This issue is discussed in the following issue.

DefinitelyTyped/DefinitelyTyped#69213

A PR has already been submitted DefinitelyTyped/DefinitelyTyped#69231 . However, I'm not certain the change that refers to v4 is the proper solution.

from firebase-admin-node.

arcaela avatar arcaela commented on June 16, 2024

"resolutions": {
"@types/mime": "3.0.4"
}

Its done with two properties in package.json, express broken this type

from firebase-admin-node.

hansajayathilaka avatar hansajayathilaka commented on June 16, 2024

yarn

"resolutions": { "@types/mime": "3.0.4" }

npm

"overrides": { "@types/mime": "3.0.4" }

This works for me. Thanks for the solution.

from firebase-admin-node.

xNOVA2 avatar xNOVA2 commented on June 16, 2024

had the same issue "overrides": { "@types/mime": "3.0.4" } fixed it for me

from firebase-admin-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.