Skip to content

Generator doesn't pull template from private repo #538

@alextrs

Description

@alextrs

Describe the bug

After upgrade to 1.6.0 version from 1.1.4, ag stopped to recognize npm configuration to use private repository

How to Reproduce

install @asyncapi/generator@1.6.0

configure NPM to use private repository using:
npm config set registry <path to registry>

try to generate code
ag ./server.yaml @repo/template --force-write --output ./out

see error - Error: 404 Not Found - GET https://registry.npmjs.org/<template in private repo> - Not found

install @asyncapi/generator@1.1.4
ag ./server.yaml @repo/template --force-write --output ./out
Done! 

Expected behavior

Ag should pull template from private repository

Metadata

Metadata

Labels

bountyAsyncAPI Bounty program related labelbounty/2023-Q4AsyncAPI Bounty program related labellevel/advancedAsyncAPI Bounty program related labelreleased

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions