Can't deploy nestjs application

I get an error that says cannot find ‘passport’ module, however, the dependency is present in the package.json; and, I use npm install && npm run build


I’ve replied to the ticket you also opened, let’s keep the conversation in one place (on the ticket) and you can update this post once we find the solution.

Kind regards


Just to follow up here, the issue seemed to be resolved by specifying a Node version to match the one developed/tested on.


I came across the same error when trying to deploy the nestjs app and the issue was the node version. I was using version 18.16.0 for my project and render defaulted to v14. But it works really well with nestjs

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.