#Can't run in production?

35 messages · Page 1 of 1 (latest)

wooden stirrup
#

What's wrong with this command?

rare ember
wooden stirrup
rare ember
#

the main.js isn't in the dist directory

#

it is in dist/src

#

you have to change the script in your package.json

#

it should look like this:
node dist/src/main

wooden stirrup
#

Thanks sir, it's work. But I think I never changed build target

median drift
#

Can you show us your nest-cli.json file ?

wooden stirrup
median drift
#

Ok that's weird, maybe your tsconfig file is the culprit

rare ember
azure wyvernBOT
#

This post has been marked as resolved. :white_check_mark:
Please read through the conversation and resolution if you are having the same issue, and then re-open the post if you are still having trouble, providing as much extra information as possible.

wooden stirrup
#

I don't know how to using nest.js for efficient

#

Please give me an example project structure for standard build and monorepo if you have

vernal fog
wooden stirrup
vernal fog
wooden stirrup
#

use case of monorepo and modular

vernal fog
#

What should the monorepo contain? What kind of monorepo? Nest monorepo, nx monorepo, turbo, yarn/npm/pnpm workspace, lerna, rush, pants, something else? Why do you want a monorepo reference?

wooden stirrup
#

anything, just for reference in application development idea creation

vernal fog
#

Okay, but why a monorepo? Do you have a specific use case here?

wooden stirrup
#

I building live stream app, so I will use microservice architecture. first project for business flow and second for handle webrtc api

#

I think monorepo architecture for join multiple project into single repository

#

Is I am wrong?

vernal fog
wooden stirrup
#

Okay thanks, I need to read more about monorepo concept

wooden stirrup
#

Therefore, I have been considering the concept of a monorepo

surreal flicker
#

You need to ask this as your own question and not hijack another person's thread

gilded peak
surreal flicker
blissful obsidian