Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List everyday latest list of AsyncAPI Meetings, Newsroom Videos and Dashboard data. workflow failing for over a week #2049

Closed
derberg opened this issue Aug 9, 2023 · 2 comments · Fixed by #2050
Labels

Comments

@derberg
Copy link
Member

derberg commented Aug 9, 2023

After merging #1988
Workflow regenerate-meetings-and-videos.yml is not working

Failing jobs: https://github.com/asyncapi/website/actions/workflows/regenerate-meetings-and-videos.yml

Logs:

(node:1847) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
/home/runner/work/website/website/scripts/build-newsroom-videos.js:4
export async function buildNewsroomVideos() ***
^^^^^^

SyntaxError: Unexpected token 'export'
    at internalCompileFunction (node:internal/vm:73:[18](https://github.com/asyncapi/website/actions/runs/5803383337/job/15731353668#step:4:19))
    at wrapSafe (node:internal/modules/cjs/loader:1178:20)
    at Module._compile (node:internal/modules/cjs/loader:1220:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:11[19](https://github.com/asyncapi/website/actions/runs/5803383337/job/15731353668#step:4:20):32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:[23](https://github.com/asyncapi/website/actions/runs/5803383337/job/15731353668#step:4:24):47

cc @reachaadrika @akshatnema

@reachaadrika
Copy link
Contributor

@derberg added a quick fix for this .

@derberg
Copy link
Member Author

derberg commented Aug 10, 2023

@reachaadrika thanks a bunch for quick fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants