Skip to content
This repository has been archived by the owner on Aug 2, 2018. It is now read-only.

scoped npm packages break Duo support #464

Open
ndhoule opened this issue May 5, 2015 · 1 comment
Open

scoped npm packages break Duo support #464

ndhoule opened this issue May 5, 2015 · 1 comment

Comments

@ndhoule
Copy link
Member

ndhoule commented May 5, 2015

NPM released scoped packages to the public registry on 4/20/2015. Because Duo's require resolution is slightly different than npm's, Duo can't use any package that depends on a scoped package.

For example, attempting to include ndhoule/values:

var values = require('ndhoule/values');

// do something

Duo is able to resolve values itself, but cannot resolve its dependency to @ndhoule/keys.

For now I'm just try/catching around scoped package dependencies, but I imagine as scoped package adoption picks up it's going to become a bigger problem for Duo.

Related issue: #456

@ndhoule ndhoule changed the title Duo does not support scoped npm packages scoped npm packages break Duo support May 5, 2015
@ndhoule
Copy link
Member Author

ndhoule commented May 5, 2015

Changed the title to be a little more reflective of the actual problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant