Skip to content

Parallel execution command asyncapi generate got error #814

@Zacama

Description

@Zacama

Describe the bug

Parallel execution mulitple generate command

for file in "${files[@]}"
do
    asyncapi generate fromTemplate $file.json @asyncapi/html-template --param singleFile=true outFilename=$file.html --output ./generate --force-write &
done
wait

Command execution failure
Generation Error: ENOENT: no such file or directory, open '/root/generate/asyncapi/css/asyncapi.min.css'

How to Reproduce

some asyncapi json files

for file in "${files[@]}"
do
    asyncapi generate fromTemplate $file.json @asyncapi/html-template --param singleFile=true outFilename=$file.html --output ./generate --force-write &
done
wait

Expected behavior

success

Metadata

Metadata

Labels

bountyAsyncAPI Bounty program related labelbugSomething isn't workinggood first issueGood for newcomerslevel/advancedAsyncAPI Bounty program related label

Type

No type

Projects

Status

Completed

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions