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

Cannot find module '[truncated]/@asyncapi/web-component/lib/index.js'. Please verify that the package.json has a valid "main" entry #978

Open
mxr576 opened this issue Apr 4, 2024 · 5 comments
Labels
Hacktoberfest Label issues as available for participants of https://hacktoberfest.digitalocean.com

Comments

@mxr576
Copy link

mxr576 commented Apr 4, 2024

Description

path.dirname(require.resolve('@asyncapi/web-component')) fails with Cannot find module '[truncated]/@asyncapi/web-component/lib/index.js'. Please verify that the package.json has a valid "main" entry.

Expected result

Actual result

Steps to reproduce

Troubleshooting

Copy link

github-actions bot commented Apr 4, 2024

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.

Copy link

github-actions bot commented Aug 3, 2024

This issue has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

@github-actions github-actions bot added the stale label Aug 3, 2024
@mxr576
Copy link
Author

mxr576 commented Aug 3, 2024

Bump! 🙂

@github-actions github-actions bot removed the stale label Aug 4, 2024
@AceTheCreator AceTheCreator added the Hacktoberfest Label issues as available for participants of https://hacktoberfest.digitalocean.com label Sep 30, 2024
@AceTheCreator
Copy link
Member

@mxr576 can you share steps to reproduce this error?

@mxr576
Copy link
Author

mxr576 commented Dec 18, 2024

We have dropped the Webcomponents aproach due this and other problems so I cannot provide more information, but the path.dirname(require.resolve('@asyncapi/web-component')) should be the first step for reproduction, IIRC we have tried to pass configuration to the Webcomponent from our code, or something like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest Label issues as available for participants of https://hacktoberfest.digitalocean.com
Projects
None yet
Development

No branches or pull requests

2 participants