Node installing every 15 minutes


#1

Hi. I have a problem with node. Bot restarting every 15 minutes and installing node v9.9.0 everytime. Please help.

node v9.9.0, with pnpm

Installing…

Resolving: total 20, reused 1, downloaded 0

Resolving: total 67, reused 23, downloaded 0

Resolving: total 106, reused 50, downloaded 0

Resolving: total 167, reused 94, downloaded 0

Resolving: total 171, reused 103, downloaded 0

Resolving: total 188, reused 162, downloaded 0

Resolving: total 220, reused 188, downloaded 0

Resolving: total 238, reused 225, downloaded 0

WARN discord.js@11.3.2 requires a peer of bufferutil@^3.0.3 but none was installed.

WARN discord.js@11.3.2 requires a peer of erlpack@discordapp/erlpack but none was installed.

WARN discord.js@11.3.2 requires a peer of node-opus@^0.2.7 but none was installed.

WARN discord.js@11.3.2 requires a peer of opusscript@^0.0.6 but none was installed.

WARN discord.js@11.3.2 requires a peer of sodium@^2.0.3 but none was installed.

WARN discord.js@11.3.2 requires a peer of libsodium-wrappers@^0.7.3 but none was installed.

WARN discord.js@11.3.2 requires a peer of uws@^9.14.0 but none was installed.

WARN yamdbf: discord.js@11.2.0 requires a peer of bufferutil@^3.0.0 but none was installed.

WARN yamdbf: discord.js@11.2.0 requires a peer of erlpack@hammerandchisel/erlpack but none was installed.

WARN yamdbf: discord.js@11.2.0 requires a peer of node-opus@^0.2.5 but none was installed.

WARN yamdbf: discord.js@11.2.0 requires a peer of opusscript@^0.0.3 but none was installed.

WARN yamdbf: discord.js@11.2.0 requires a peer of sodium@^2.0.1 but none was installed.

WARN yamdbf: discord.js@11.2.0 requires a peer of libsodium-wrappers@^0.5.1 but none was installed.

WARN yamdbf: discord.js@11.2.0 requires a peer of uws@^0.14.1 but none was installed.

WARN yamdbf@3.0.1 requires a peer of pg@6.4.0 but none was installed.

WARN yamdbf@3.0.1 requires a peer of sequelize@4.2.1 but none was installed.

WARN yamdbf@3.0.1 requires a peer of sqlite3@3.1.8 but none was installed.

Resolving: total 239, reused 239, downloaded 0

Packages: +239

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Resolving: total 239, reused 239, downloaded 0

Resolving: total 239, reused 239, downloaded 0

Resolving: total 239, reused 239, downloaded 0

Resolving: total 239, reused 239, downloaded 0

Resolving: total 239, reused 239, downloaded 0

Resolving: total 239, reused 239, downloaded 0

Resolving: total 239, reused 239, downloaded 0, done

ERROR ENOENT: no such file or directory, stat ‘/rbd/pnpm-volume/94422947-cf90-4b5c-8c58-9d7bab513dad/node_modules/node/bin/node’


#2

Is this the same project as in Can't update node / npm audit security report? If so, fix the space issue first and this should clear up.


#3

Now every 12 hours my bot restarting with the same error. I cleared up space but still error shows up


#4

Let us know the project name and we’ll take a look. If your project is private, either make it public temporarily or DM me a join link so we can view the code. Thanks.


#5

The warning didn’t seem to be stopping the project from working. Nevertheless, I’ve cleaned up some unused dependencies in your app and the warning no longer seems to be appear. Let me know if you have any further issues.

Note that per our restrictions, your project is stopped if it has been awake for 12 hours. So you should expect to see install related messages in your logs that result from it restarting after that.


#6

Thank you very much for your help. I’ll let you know how I’ll have a problem again :slight_smile:


#7

Hi @Gareth, finding unused dependencies sounds like a useful thing to do. What steps are involved, if we want to do this ourselves?


#8

You can do this by removing any of the modules listed in the dependencies section in package.json which aren’t required anywhere in your app’s code.