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

[BUG]: Export verifyWithFallback doesn't exist in target module #2805

Closed
1 task done
mitchuman opened this issue Feb 6, 2025 · 2 comments
Closed
1 task done

[BUG]: Export verifyWithFallback doesn't exist in target module #2805

mitchuman opened this issue Feb 6, 2025 · 2 comments
Labels
Status: Invalid/Incomplete This doesn't seem right

Comments

@mitchuman
Copy link

What happened?

Usage with Next.js 15.1.6

Image

Versions

Octokit 4.1.0
Node v18.18.0

Relevant log output

./node_modules/@octokit/webhooks/dist-bundle/index.js:476:1

Export verifyWithFallback doesn't exist in target module
  474 |
  475 | // pkg/dist-src/verify-and-receive.js
> 476 | import { verifyWithFallback } from "@octokit/webhooks-methods";
      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  477 | async function verifyAndReceive(state, event) {
  478 |   const matchesSignature = await verifyWithFallback(
  479 |     state.secret,

The export verifyWithFallback was not found in module [project]/node_modules/@octokit/webhooks-methods/dist-web/index.js [app-client] (ecmascript).
Did you mean to import verify?
All exports of the module are statically known (It doesn't have dynamic exports). So it's known statically that the requested export doesn't exist.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@mitchuman mitchuman added Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented labels Feb 6, 2025
Copy link

github-actions bot commented Feb 6, 2025

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

@wolfy1339
Copy link
Member

Duplicate of #2803 and octokit/webhooks.js#1099

@github-project-automation github-project-automation bot moved this from 🆕 Triage to ✅ Done in 🧰 Octokit Active Feb 6, 2025
@wolfy1339 wolfy1339 added Status: Invalid/Incomplete This doesn't seem right and removed Type: Bug Something isn't working as documented Status: Triage This is being looked at and prioritized labels Feb 6, 2025
@octokit octokit locked and limited conversation to collaborators Feb 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Status: Invalid/Incomplete This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants