New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to load verdaccio-aws-s3-storage plugin on 6-next #3425
Comments
Looking at this PR line appears to be where the error it being thrown https://github.com/verdaccio/verdaccio/pull/3370/files#diff-3163017865a47f9bfea6e6e6e4a6cbfbff4a9b0afea35c1365614bd48f7f168aR91 I did try adding
But that didn't appear to have any effect |
Found out how to run with debugging enabled
|
this snippet looks to be https://github.com/verdaccio/verdaccio/pull/3370/files#diff-3163017865a47f9bfea6e6e6e4a6cbfbff4a9b0afea35c1365614bd48f7f168aR71-R120 where it's trying to load the plugin twice, once by its full path and then again just by name? I updated the Dockerfile to also copy it in the default node_modules directory
This seems to get past the second tryLoad call but now I'm hitting a new exception
|
Hi, I haven't read the whole comments, just one note:
This is not ready for plugins with docker yet, those changes are quiet recent, the current but thanks let me know I'll keep this thread alive and eventually all will works just fine. Keep on mind the |
Thank you so much for the quick reply! I suspected that to be the case but wanted to share just in case and see if I may be able to help. I was just playing around with 6 as it has some great new features we're looking for, but absolutely understand its actively being worked on and is volatile. Thank you again for all your hard work on this project! |
Here is an example of how the API would look like https://verdaccio.org/docs/next/api/core/interfaces/pluginUtils.IPackageStorage#savepackage Eventually, this would be linked to a guide to upgrading plugins, etc, just a small start to expose internals easily. Feedback is welcome. |
Your Environment
Describe the bug
Plugin fails to load using either 6-next of latest version of the plugin, using the example docker installation for plugin, works on 5 but is failing on nightly-master
To Reproduce
Expected behavior
plugin loading as expected
Configuration File (cat ~/.config/verdaccio/config.yaml)
Environment information
Debugging output
Contribute to Verdaccio
The text was updated successfully, but these errors were encountered: