Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for scoped adapters?

See original GitHub issue

Currently the resolveAdapterPath uses Node’s path.parse method, and examines the dir property to determine if the adapter path is an npm module name, or a path.


// Check if inboundAdapterPath is a path or node module name
let parsed = path.parse(inboundAdapterPath);
let isPath = parsed.dir.length > 0;

However, this will incorrectly assign scoped packages as paths (e.g. inboundAdapterPath === '@foo/bar').

Is there a plan to support scoped packages?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

jimthedevcommented, Dec 19, 2016
ryanvanosscommented, Dec 19, 2016

Good stuff, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wolf Screw On Adapter – Fitting For Scope
Wolf Screw On Adapter - Fitting For Scope ... Description. Fiber Optic adapters allowing the use of various fiber optic cables with various...
Read more >
Best Telescope Photo Adapters
SVBONY Universal Cell Phone Adapter Mount Telescope Phone Mount for Binocular Monocular Spotting Scope Telescope Support Eyepiece Diameter 25 to 48mm.
Read more >
ScopeX4™ Adapter
The Sector Optics ScopeX4™ adapter doubles the power of most 30mm or 1” scopes by attaching to the end of that size scope...
Read more >
Fiber Inspection Scope Adapters
Interchangeable fiber inspection scope adapters are used for viewing different types of connectors.
Read more >
[keycloak-dev] Better support for "scope" in adapters
With regards to incremental scope support we need to be able to do > that without requiring logout. For JS adapter that should...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found