#Cannot find type definition file for 'mime'

3 messages · Page 1 of 1 (latest)

sudden haven
#

Same problem

#

@weary eagle replacing yarn -> npm solved the problem

dapper vector
#

I'm getting this error as well. I was just following along this Youtube video (https://youtu.be/C250DCwS81Q) and when it reaches the 9:20 mark where he starts the application, I get:

error TS2688: Cannot find type definition file for 'mime'.
  The file is in the program because:
    Entry point for implicit type library 'mime'

Found 1 error. Watching for file changes.

Haven't been able to fix it even after replacing yarn with npm

In this short tutorial, I show you how to create a Nest.js project with Microservices along with an API Gateway.

Github Repo: https://github.com/mguay22/nestjs-microservices
Nest.js Documentation: https://docs.nestjs.com/microservices/basics

Get my highly-rated Udemy courses at a discount here: https://michaelguay.dev/udemy/

▶ Play video