node.jstypescriptexpressmulter

Anyone knows about this Namespace 'global.Express' has no member 'Multer' exported.ts(2694)


Im trying to create an enpoint to send a zip file and this error keeps apearing ERROR in ./apps/api/src/app/ingestion/ingestion.controller.ts:46:35 TS2694: Namespace 'global.Express' has no exported member 'Multer'.

My app is develop in Typescript.

Anyone knows how to solve it?

I tried some solutions that Chatgp gave me


Solution

  • Just install the Multer Type

    npm install --save-dev @types/multer
    

    Thats all