stencila/dockta

Registry specified in .npmrc is not respected

Opened this issue · 1 comments

I have custom (company internal) npm registry defined in my .npmrc.
When I try to run dockta compile I am getting missing dependency error becacuse dockta is looking for them in https://registry.npmjs.org/

ERROR dockta There was a problem fetching https://registry.npmjs.org/<internal dependency>/<version> (ENOTFOUND). Are you connected to the internet?

Is there a way to specify custom registry?

Hi @rostrovsky, thanks for the report.

That's an interesting use case, I hadn't thought of. Currently, no, you can't specify a custom registry. But it seems like something that wouldn't be too hard to add.