dmitriy-nz / nestjs-form-data

NestJS middleware for handling multipart/form-data, which is primarily used for uploading files.
https://www.npmjs.com/package/nestjs-form-data
MIT License
117 stars 23 forks source link

Add compatibility with Nest v9 #28

Closed Hagriel closed 1 year ago

miladganjali commented 2 years ago

hello the package is not installed in version 9 of nests

$ node --version
v18.6.0
$npm --version
8.13.2
$nest --version
9.0.0

$npm install nestjs-form-data

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: auth-gateway@0.0.1
npm ERR! Found: @nestjs/websockets@9.0.5
npm ERR! node_modules/@nestjs/websockets
npm ERR!   peerOptional @nestjs/websockets@"^9.0.0" from @nestjs/microservices@9.0.5
npm ERR!   node_modules/@nestjs/microservices
npm ERR!     @nestjs/microservices@"^9.0.3" from the root project
npm ERR!   peer @nestjs/websockets@"^9.0.0" from @nestjs/platform-socket.io@9.0.5
npm ERR!   node_modules/@nestjs/platform-socket.io
npm ERR!     peerOptional @nestjs/platform-socket.io@"^9.0.0" from @nestjs/websockets@9.0.5
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional @nestjs/websockets@"^8.0.0" from @nestjs/core@8.4.7
npm ERR! node_modules/@nestjs/core
npm ERR!   peer @nestjs/core@"^7.0.0 || ^8.0.0" from nestjs-form-data@1.6.4
npm ERR!   node_modules/nestjs-form-data
npm ERR!     nestjs-form-data@"*" from the root project
dmitriy-nz commented 2 years ago

Hi, fixed in version 1.7.1 https://www.npmjs.com/package/nestjs-form-data Please check

dmitriy-nz commented 2 years ago

@Hagriel Close this issue if everything is okay

dmitriy-nz commented 1 year ago

Closed due to inactivity Reopen if the problem persists