#nest keeps watching files and gets stuck

1 messages · Page 1 of 1 (latest)

brazen cypress
#

Reinstall node modules?🤷‍♂️

sly marlin
brazen cypress
#

Have you tried loading every module in chunks?

#

Like just load the app module by itself and then adding other modules one by one?

sly marlin
lime widgetBOT
#

Please run the command npx -y @nestjs/cli info and paste the output in a code block. This will help us determine if there is a version issue in your packages and which version of nest we are triaging.

sly marlin
#
[System Information]
OS Version     : Linux 5.10
NodeJS Version : v18.10.0
NPM Version    : 10.3.0 

[Nest CLI]
Nest CLI Version : 10.1.17 

[Nest Platform Information]
platform-express version : 10.2.4
mapped-types version     : 2.0.3
serve-static version     : 4.0.0
schematics version       : 10.0.2
swagger version          : 7.1.16
testing version          : 10.2.4
common version           : 10.2.4
config version           : 3.0.1
core version             : 10.2.4
cqrs version             : 10.2.5
cli version              : 10.1.17
sly marlin
glacial wind
#

try upgrading the @nestjs/cli to the latset version (v10.3.2)

sly marlin
glacial wind
#

install it locally

#

I'd suggest you to avoid the global one
always use the CLI per project

#

so, use npx nest ...

sly marlin
glacial wind
#

anything

#

instead of just nest ..

#

you know

sly marlin
#

sorry my brain is mush brainlet
i cant think propperly anymore today i need a hint 😭

dreamy maple
glacial wind
#

that's for windows only, usually

sly marlin
#

oh

glacial wind
#

@sly marlin run npm ls @nestjs/cli

#

wanna see the version you're using

sly marlin
glacial wind
#

no clue what it is then

#

if you manage to share a reproduction so we can try ourselves, it would be great

sly marlin
#

running out of time i have to go
might as well reboot the project and scavage the old code