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]: verifyWithFallback export issue in @octokit/webhooks-methods #2803

Closed
1 task done
seperez-ncl opened this issue Feb 5, 2025 · 4 comments
Closed
1 task done
Labels
Status: Invalid/Incomplete This doesn't seem right

Comments

@seperez-ncl
Copy link

What happened?

When attempting to build my project, I encounter the following error:

No matching export in "node_modules/@octokit/webhooks-methods/dist-web/index.js" for import "verifyWithFallback"

node_modules/@octokit/webhooks/dist-bundle/index.js:476:9:
476 │ import { verifyWithFallback } from "@octokit/webhooks-methods";
╵ ~~~~~~~~~~~~~~~~~~

Unhandled promise rejection: Error: Build failed with 1 error:
node_modules/@octokit/webhooks/dist-bundle/index.js:476:9: ERROR: No matching export in "node_modules/@octokit/webhooks-methods/dist-web/index.js" for import "verifyWithFallback"

Versions

Octokit.js: 4.1.0, Node: 20.18.1

Relevant log output

Code of Conduct

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

github-actions bot commented Feb 5, 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

You'll need to provide more details. Why is your client resolving to node_modules/@octokit/webhooks-methods/dist-web/index.js?

Also duplicate of octokit/webhooks.js#1099

@github-project-automation github-project-automation bot moved this from 🆕 Triage to ✅ Done in 🧰 Octokit Active Feb 5, 2025
@yorodriguez
Copy link

@wolfy1339
Copy link
Member

Please don't post useless links, especially any that the public can't access

@octokit octokit locked as resolved and limited conversation to collaborators Feb 5, 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 5, 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

3 participants