We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: Deno 2.0.6
We have a private repository hosted on gitlab. In .npmrc, we have the following
.npmrc
@prefix:registry=https://gitlab.private.whatever
In a deno project using Deno 2.0.6, I install the private sample-lib module like so
Deno 2.0.6
sample-lib
deno install npm:@prefix:sample-lib
The installation works as expected
sample-lib has a dependency on protobufjs, which has a dependency on minimal
protobufjs
minimal
When running the app, I'm faced with the error
[ERR_MODULE_NOT_FOUND] Cannot find module 'file:///Users/my-user/Library/Caches/deno/npm/registry.npmjs.org/protobufjs/7.4.0/minimal' imported from 'file:///Users/my-user/Library/Caches/deno/npm/gitlab.private.whatever/api/v4/packages/npm/@prefix/sample-lib/5.3.62/dist/esm/index.js'
Note that this lib has been long running and working fine with npm and .npmrc setup
npm
What could be causing this problem here? Judging from the error message, seems like deno di not install sample-lib's dependencies?
Thank you guys in advance 🙇
The text was updated successfully, but these errors were encountered:
You listed running deno install npm:@prefix:sample-lib to install it. Is the colon a typo and you used a /?
/
- deno install npm:@prefix:sample-lib + deno install npm:@prefix/sample-lib
Sorry, something went wrong.
No branches or pull requests
Version: Deno 2.0.6
Problem Description
We have a private repository hosted on gitlab. In
.npmrc
, we have the followingIn a deno project using
Deno 2.0.6
, I install the privatesample-lib
module like soThe installation works as expected
sample-lib
has a dependency onprotobufjs
, which has a dependency onminimal
When running the app, I'm faced with the error
Note that this lib has been long running and working fine with
npm
and.npmrc
setupWhat could be causing this problem here? Judging from the error message, seems like deno di not install
sample-lib
's dependencies?Thank you guys in advance 🙇
The text was updated successfully, but these errors were encountered: