Skip to content
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?

You are viewing a single comment. View All
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