benMain / nest-sftp

Sftp Client for Nest.js Framework
MIT License
12 stars 15 forks source link

NestJS 10+ #61

Open Mikibsec opened 1 year ago

Mikibsec commented 1 year ago

Hi, Any plan to update the dependencies? Is it safe to install with force?

Getting:

npm ERR! nest-sftp@"*" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

SiddiquiMonis401 commented 1 year ago

I am trying to upgrade my project as well - Getting the same error, seems this depends on @nest/common package 7-9- A change should be made to the lib to support latest version might be required or may be we have to do it with --force. @benMain Could you please let us know if you are planning to upgrade this to package to add support for version 10 of Nest ?

marnec-ad commented 7 months ago

In the meantime, you can just add this in you package.json. The lib is apparently still working fine, it's just a semantic versioning problem

"overrides": {
    "nest-sftp": {
      "@nestjs/common": "10.0.3",
      "@nestjs/core": "10.0.3"
    }
  },