getappmap / getappmap/appmap-js
PNG output command for sequence diagram is broken
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 18
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
➜ api-service git:(feat/local-service) ✗ appmap sequence-diagram --format png tmp/appmap/jest/AIGateway/exception_handling/when_an_HTTP_exception_occurs/reports_status_code_and_message_via_\'exception\'_event.sequence.json
Opening sequenceDiagram.html
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
Error: File sequenceDiagram.html does not exist
at serveAndOpen (/snapshot/appmap-js/packages/cli/built/lib/serveAndOpen.js)
Node.js v18.5.0
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the appmap sequence-diagram --format png command and the sequence JSON path shown in the issue. Start by reading packages/cli/built/lib/serveAndOpen.js and check why sequenceDiagram.html is missing. Done means the PNG output command completes successfully instead of reporting that file does not exist.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100