Node Modules' package.json missing?

#1

So I’ve had a project running for a bit now, but all of a sudden, it went offline. Upon checking the logs, I found this:

I have no idea why it suddenly removed the package.json from all of my dependencies.
Does anyone know of a fix or why it’s happening?

Thanks, Link

#2

Hello @DarkLink77689,

Could you try running the following commands:

rm shrinkwrap.yaml
enable-pnpm
#3

That worked!

Thank you so much!

Do you know what might have occured?

1 Like
#4

I would say that an error could have occurred during one of your project’s restarts, if it ever happens again, make sure to come back and we will help you again!