Skip to content
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

Plugins won't load when linked via lerna #368

Closed
danielkhan opened this issue Sep 28, 2019 · 2 comments
Closed

Plugins won't load when linked via lerna #368

danielkhan opened this issue Sep 28, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@danielkhan
Copy link
Contributor

When running the http example in the lerna bootstrapped project, plugin loader won't find @opentelemetry/plugin-http, logging

PluginLoader#load: trying loading http@10.13.0
PluginLoader#load: applying patch to http@10.13.0 using @opentelemetry/plugin-http module
PluginLoader#load: could not load plugin @opentelemetry/plugin-http of module http. Error: Cannot find module '@opentelemetry/plugin-http'
@danielkhan danielkhan added the bug Something isn't working label Sep 28, 2019
@dyladan
Copy link
Member

dyladan commented Oct 31, 2019

I just ran into this issue. It looks like a symlink resolution issue nodejs/help#1212

It can possibly be fixed by removing 'examples/*' from the packages array in the lerna.json. Testing locally right now and I'll make a PR if it fixes it.

@mayurkale22
Copy link
Member

Closing via #470, feel free to reopen if you disagree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants