Stuck on recreating modules when upgrading to Node.js 12.x

If the project doesn’t change when you update package.json, it’s hung up on something. Go into the terminal in the container and run ps -aux. That will list all the processes running. You need to kill one of the non-root processes. Do so by running kill <pid>, where <pid> is the process ID (listed in the second or so column). The process you’re trying to kill is pnpm or npm (I believe)—or at least related to them or the start.js script.

It’s not a big deal if you kill something else because the environment is pretty adaptive and will restart whatever goes down if it’s related to what should be running.

EDIT: Update me on how things go. It might be worth posting what you killed in case other people stumble across the thread looking for a possible fix.

1 Like