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

Support for Local Paths in npm 2.x? #56

Closed
azu opened this issue Oct 19, 2014 · 1 comment
Closed

Support for Local Paths in npm 2.x? #56

azu opened this issue Oct 19, 2014 · 1 comment

Comments

@azu
Copy link

azu commented Oct 19, 2014

npm 2.x provide Local Paths feature.

Example project of Local Paths: azu/npm-localpaths-example

"dependencies": {
  "example-utils": "file:local_modules/example-utils"
}

I try to update this project using david and get error:

$ david -v
v5.0.0
$ david u
Failed to get updated dependencies/devDependencies { [Error: 404 Not Found: example-utils] pkgid: 'example-utils', statusCode: 404, code: 'E404' }
@alanshaw
Copy link
Owner

I think you should be able to use the --warn404 flag to ignore the non-npm dependency.

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

No branches or pull requests

2 participants