Open anespinoza83-mms opened 3 months ago
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
This issue turns out to be related to certificates in npm.
Steps below work as workaround:
NODE_TLS_REJECT_UNAUTHORIZED=0
npm install -g @asyncapi/html-template@2.3.5
@anespinoza83-mms how did you install the CLI ?
I used different distributions. I will list them in order.
docker pull asyncapi/cli
Note: This worked fine the first time I used it. The issue was observed around 4/22.
I followed the instructions from this guideline First attempted the NPM method, I installed node and double checked npm was installed. Then I ran
npm install -g @asyncapi/cli
I think at this point I started observing errors, so I tried chocolatey installation.
choco install asyncapi
With chocolatey installation was smooth.
Describe the bug.
The command generate fromTemplates fails with error MODULE_NOT_FOUND. Here the details.
Expected behavior
The program should produce HTML files without issues
Screenshots
How to Reproduce
🥦 Browser
Microsoft Edge
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
No, someone else can work on it