I am facing an issue while trying to build nest.js application

The nest application needs the nest command available via nest cli to actually build the application. The actual command which runs by triggering “node run build” is “nest build”. However since nest cli is installed globally in local environment it doesn’t seem to available in render.com . I tried to install it globally on render but it seems the package cannot be accessed unless admin user triggers nest command. Please suggest a way out of this.

It seems changing build command from “nest build” to “npx @nestjs/cli build” solves the issue npx is able to run the command through nest cli node module

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