How can I edit my packages?

I have added discord.js npm package
now I want to edit this package’s some .js file
any way to edit that file?

You have a package.json, right?

Explain what you mean by that.

Maybe he mean this, He want modify some discord.js file on it.

By the way, You can modify it by using nano <filename> at Terminal. Also, node_modules is hidden in File tree.

It is not hidden. Glitch uses pnpm which is used to distribute packages across machines. And, as far as I know, you don’t have access to that. You would need to make your own version of it.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.