Skip to content
← Back to Community
Disable automatic package updates in node.js?
Profile icon
cbt4life

I'm trying to install an older version of discord.js (v11.0.0) because it supports user tokens. The only problem is that it automatically updates the package back to the latest version. Is there any way I can disable this?

Voters
Profile icon
cbt4life
Comments
hotnewtop
Profile icon
SpaceGamer1111

I think you can by displaying the hidden files in your repl and then searching for ".replit" file. Here comment or make "guess imports" false.
image

Profile icon
Coder100

Nope, you'll just have to hack your way through it:
https://repl.it/@Coder100/TartLastingSearchengine-i-did-not-ask-for-your-OPINION#index.js

btw selfbots are against the TOS

Profile icon
Brendan23

no. sorrry. you have to manually change the code I think .