Ask coding questions

← Back to all posts
How to run node package scripts?
thedeathblade

I am trying to use repl.it as an online environment for running firebase-tools.

I used the package manager to install 'firebase-tools', but how do I get into a shell to run 'firebase login' (for example).

Voters
JoeSchnetzler
LuizGustavo49
YodaCode
somberi
PragadeesWaran
mangpa444
thedeathblade
Comments
hotnewtop
Yamboy1

You can press f1 while in the editor, and type in shell. Note that this is slightly experimental, so it might not work, but it should be fine. Also, the command you are looking for is npx firebase login

thedeathblade

@Yamboy1 Thank you so much, this info should be in the docs or a tutorial

Yamboy1

@thedeathblade Because the feature is still experimental, I don't think that will happen till it becomes stable. At that point, it definitely will be though

YodaCode

@Yamboy1 Thank you! I was looking for a way to collaborate on a firebase hosting project, and this is exactly what I needed.