You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Something went wrong:
/usr/local/lib/node_modules/@asyncapi/generator/node_modules/puppeteer-core/lib/cjs/puppeteer/util/disposable.js:9
Symbol.dispose ??= Symbol('dispose');
^^^
SyntaxError: Unexpected token '??='
at wrapSafe (internal/modules/cjs/loader.js:1029:16)
at Module._compile (internal/modules/cjs/loader.js:1078:27)
at Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
at Object.require.extensions. [as .js] (/usr/local/lib/node_modules/@asyncapi/generator/node_modules/ts-node/src/index.ts:1608:43)
at Module.load (internal/modules/cjs/loader.js:979:32)
at Function.Module._load (internal/modules/cjs/loader.js:819:12)
at Module.require (internal/modules/cjs/loader.js:1003:19)
at require (internal/modules/cjs/helpers.js:107:18)
at Object. (/usr/local/lib/node_modules/@asyncapi/generator/node_modules/puppeteer-core/src/common/EventEmitter.ts:8:1)
at Module._compile (internal/modules/cjs/loader.js:1114:14)`
With previous versions (for example v2.3.11) it works correctly.
Expected behavior
`[BABEL] Note: The code generator has deoptimised the styling of /usr/local/lib/node_modules/@asyncapi/generator/node_modules/@asyncapi/html-template/template/js/asyncapi-ui.min.js as it exceeds the max of 500KB.
Done!
Check out your shiny new generated files at /output/html.`
Screenshots
How to Reproduce
Generate asynacpi doc with html template with v2.3.12
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.
Describe the bug.
I obtain this error with the latest version v2.3.12 when I execute this:
docker run --rm -it -v ${PWD}/resources/asyncapi:/app/asyncapi -v ${PWD}/api/asyncapi:/output \ asyncapi/generator:1.16.0 /app/asyncapi/returnUpdated.yml @asyncapi/[email protected] --force-write -o /output/html
`Something went wrong:
/usr/local/lib/node_modules/@asyncapi/generator/node_modules/puppeteer-core/lib/cjs/puppeteer/util/disposable.js:9
Symbol.dispose ??= Symbol('dispose');
^^^
SyntaxError: Unexpected token '??='
at wrapSafe (internal/modules/cjs/loader.js:1029:16)
at Module._compile (internal/modules/cjs/loader.js:1078:27)
at Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
at Object.require.extensions. [as .js] (/usr/local/lib/node_modules/@asyncapi/generator/node_modules/ts-node/src/index.ts:1608:43)
at Module.load (internal/modules/cjs/loader.js:979:32)
at Function.Module._load (internal/modules/cjs/loader.js:819:12)
at Module.require (internal/modules/cjs/loader.js:1003:19)
at require (internal/modules/cjs/helpers.js:107:18)
at Object. (/usr/local/lib/node_modules/@asyncapi/generator/node_modules/puppeteer-core/src/common/EventEmitter.ts:8:1)
at Module._compile (internal/modules/cjs/loader.js:1114:14)`
With previous versions (for example v2.3.11) it works correctly.
Expected behavior
`[BABEL] Note: The code generator has deoptimised the styling of /usr/local/lib/node_modules/@asyncapi/generator/node_modules/@asyncapi/html-template/template/js/asyncapi-ui.min.js as it exceeds the max of 500KB.
Done!
Check out your shiny new generated files at /output/html.`
Screenshots
How to Reproduce
docker run --rm -it -v ${PWD}/resources/asyncapi:/app/asyncapi -v ${PWD}/api/asyncapi:/output
asyncapi/generator:1.16.0 /app/asyncapi/returnUpdated.yml @asyncapi/[email protected] --force-write -o /output/html
🥦 Browser
None
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
None
The text was updated successfully, but these errors were encountered: