Skip to content
← Back to Community
How can I access node-module files for node.js?
Profile icon
Jeydin21

How can I access the automatically generated node_module files for my node.js repl? I need to edit something in there but I don't know how to get them on repl.it

Voters
Profile icon
Jeydin21
Comments
hotnewtop
Profile icon
Coder100

It's not really possible, and you shouldn't do it anyways.

How about something like (hit ctrl+shift+s):

mv node_modules edit_modules

don't forget to rename it back!

Profile icon
Jeydin21

@Coder100 It generates the module files, but I can't open them ;-;

Profile icon
Jeydin21

@Coder100 Ok I could open them, but there aren't any files, just a ton of folders...

Profile icon
Dashdaber154

it worked for me thx
@Coder100

Profile icon
RYANTADIPARTHI

I don't think you can do that. Repl.it can only access it's files. Not outside kind.

Profile icon
RayhanADev

I don’t think that you can, mostly because Repl.it runs through a virtual machine and I believe editing those files may cause disruption across all similar projects I believe.

Profile icon
Jeydin21
Profile icon
RayhanADev

@Jeydin21 :( ikr.

Profile icon
corgidev

i did it to change my bot's status to online on pc to online on android, LMAO

image

Profile icon
siraphopsukchu

@corgidev How did you make that

Profile icon
corgidev

@siraphopsukchu use mv node_modules edit_modules

Remember look for the index.js of the discord.js and change the ONLINE to MOBILE

Profile icon
RayhanADev

Ooh whatca working on now!

Profile icon
Jeydin21

@RayhanADev Gehehehehehehehheehhehehehehe

Profile icon
RayhanADev

@Jeydin21 tell me (°▽°)

Profile icon
RayhanADev

@Jeydin21 also, here you go! Add to your profile if you want xd.

Profile icon
Jeydin21

@RayhanADev How did you make dat :OOOO

Profile icon
RayhanADev

@Jeydin21 I got secret project too ( ^ω^ ). Do you like?