Document how to install plugins
See original GitHub issueIs your feature request related to a problem?
I just started using Verdaccio on an AWS Amazon Linux 2 EC2 instance and I have no idea on how to install plugins.
I installed Verdaccio using npm install -g verdaccio
and it runs fine, I can access the web interface.
Now I want to add the github oauth plugin but I have no idea on how to get this working. I tried
npm install -g verdaccio-github-oauth-ui
and modifying the config file for this plugin, but restarting Verdaccio only gives me:
Error: verdaccio-github-oauth-ui plugin not found. try "npm install verdaccio-github-oauth-ui"
I saw there is a plugins directory in the config file, but I have no idea how to install a plugin there, as running an npm install
in that directory will just create a node_modules
subdirectory containing the plugin and all its dependencies. (I tried this too btw and it also didn’t work)
Describe the solution you’d like I would like to see a few lines of documentation on how to install plugins, the same way the installation of Verdaccio itself is clearly explained. The only ones I find are about using Docker and extending the image to add plugins.
Thanks a lot!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:11
- Comments:23 (8 by maintainers)
Top GitHub Comments
Thanks @tommcc !
I managed to adapt your solution so I could use it in a Dockerfile instead
This is what I currently do
It’s pretty ugly, but I think I prefer it over having to deal with setting up a plugin volume
adapting your adaption into a multistage build 😉