dockta icon indicating copy to clipboard operation
dockta copied to clipboard

Registry specified in .npmrc is not respected

Open rostrovsky opened this issue 5 years ago • 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?

rostrovsky avatar Jul 29 '20 22:07 rostrovsky

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.

nokome avatar Jul 30 '20 09:07 nokome