#Hey is there a way to upgrade to a not latest version of nestjs, let's say 8
25 messages · Page 1 of 1 (latest)
Upgrade from what to what? Just latest version of v8?
this project is currently in v7
Ah, okay. And you just want to take it from v7 to latest v8?
Package manager?
currently NPM but I am open to change if needed
No need. Just needed to know what commands to write 🙂 Are you on a Unix system, and if so do you use ZSH?
Linux with bash, I did nest update and took me to 9, also tried ncu -u but same result
Ah, okay, I don't think bash has the same string replacement functionality so I'll have to type this out the long way. Last question, can you run nest info for me, so I know what Nest packages you have
my main issue is that the project won't run in 9 because a lot of changes I need to do in the data access layer
platform-express version : 9.1.4
schematics version : 9.0.3
passport version : 9.0.0
swagger version : 6.1.2
typeorm version : 9.0.1
testing version : 9.1.4
common version : 9.1.4
config version : 2.2.0
core version : 9.1.4
cli version : 9.1.4
jwt version : 9.0.0
npm i @nestjs/platform-express@^8.0.0 @nestjs/passport@^8.0.0 @nestjs/typeorm@8.0.0 @nestjs/common@^8.0.0 @nestjs/core@^8.0.0 @nestjs/jwt@^8.0.0 @nestjs/swagger@^5.0.0
npm i -D @nestjs/schematics@^8.0.0 @nestjs.cli@^8.0.0 @nestjs/testing@^8.0.0
I think that should do it
There's two commands there, one for deps and one for devDeps
Hey thanks a lot, I am getting some erros with dependencies, should I --force?
That would depend on what errors you're getting
Could not resolve dependency:
npm ERR! peer rxjs@"^7.1.0" from @nestjs/common@8.4.7
npm ERR! node_modules/@nestjs/common
npm ERR! @nestjs/common@"^8.0.0"
Do you have rxjs v7 installed?
I dont remember manually installing it
Is it in your package.json?
Yeah, rxjs should be updated to v7