The node package manager (npm) is just to install the dependencies. You could build the code for the extension on your machine and load it manually into Firefox. Or you just install the extension. The addon store of mozilla checks the code too. Depends on your trust model:) In any case, the sidebar does not open again even after clicking on the icon?