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

chore: up nodejs #75

Merged
merged 1 commit into from
Jul 23, 2024
Merged

chore: up nodejs #75

merged 1 commit into from
Jul 23, 2024

Conversation

weboko
Copy link
Collaborator

@weboko weboko commented Jul 23, 2024

Problem

Due to following error:

unhandledRejection ReferenceError: Headers is not defined
    at Object.<anonymous> (/home/jenkins/workspace/website/lab.waku.org/examples/flush-notes/node_modules/next/dist/server/web/spec-extension/adapters/headers.js:32:30)
    at Module._compile (node:internal/modules/cjs/loader:1196:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
    at Module.load (node:internal/modules/cjs/loader:1074:32)
    at Function.Module._load (node:internal/modules/cjs/loader:909:12)
    at Module.require (node:internal/modules/cjs/loader:1098:19)
    at Module.mod.require (/home/jenkins/workspace/website/lab.waku.org/examples/flush-notes/node_modules/next/dist/server/require-hook.js:64:28)
    at require (node:internal/modules/cjs/helpers:108:18)
    at Object.<anonymous> (/home/jenkins/workspace/website/lab.waku.org/examples/flush-notes/node_modules/next/dist/server/api-utils/index.js:63:18)
    at Module._compile (node:internal/modules/cjs/loader:1196:14)

It seems that NextJS cannot work in Jenkins due to low version of NodeJS.

Solution

Update NodeJS version

Notes

One of the fixes for #74

@weboko weboko requested a review from a team as a code owner July 23, 2024 12:22
@weboko weboko merged commit 63e0c05 into master Jul 23, 2024
8 checks passed
@weboko weboko deleted the weboko/fix-ci branch July 23, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant