Ask coding questions

← Back to all posts
How would I get sudo access so I can install an important library into my REPLIT?
StupidRepo (0)

So I need to install PeerJS (the main package for in my code here) but it is a global package which needs sudo access but sudo isn't a command - apparently - so how would I install it?

Comments
hotnewtop
Nefomemes (3)

You can't, unfortunately.

StupidRepo (0)

Little Note: This doesn't record your webcam/camera in ANY WAY. UUIDs (room codes) are generated randomly so you can send your friend the URL (which has the room code in it) and then they can join but since I can't install PeerJS, you can't connect.