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

No valid exports main found. #82

Open
ImUnlimited opened this issue Sep 17, 2020 · 1 comment
Open

No valid exports main found. #82

ImUnlimited opened this issue Sep 17, 2020 · 1 comment
Assignees
Labels

Comments

@ImUnlimited
Copy link

Hey, I'm trying to run this in my discord bot (node.js/discord.js) and it shows this error:

  • Error: No valid exports main found for 'C:\hazuki\bot rewrite\node_modules\ky-universal\node_modules\node-fetch'
    Can someone help me?
@worr
Copy link
Owner

worr commented Oct 25, 2020

Can you show some of the code where you're trying to import this? It looks like this might be an issue with ky-universal in the context that you're running the code in. I don't know anything about how discord bots are run, so idk if node-fetch is the appropriate backend and if ky-universal is misbehaving.

@worr worr self-assigned this Oct 25, 2020
@worr worr added the question label Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants