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

Package subpath is not defined by exports #69

Closed
iwaffles opened this issue Dec 12, 2022 · 1 comment
Closed

Package subpath is not defined by exports #69

iwaffles opened this issue Dec 12, 2022 · 1 comment

Comments

@iwaffles
Copy link

I'm running in to this error: Error: Package subpath './browser-ponyfill' is not defined by "exports" in /<project_path>/node_modules/@github/webauthn-json/package.json when using the latest 2.0.2 version with the following import:

Error: Package subpath './browser-ponyfill' is not defined by "exports" in /<project_path>/node_modules/@github/webauthn-json/package.json

I'm a bit unclear if this is something I'm doing wrong or if there's a particular version I need to be using to avoid this issue. It looks like it does exist here: https://github.com/github/webauthn-json/blob/main/package.json#L23-L25

Any help would be much appreciated!

@iwaffles
Copy link
Author

Ignore this! It seems to be a compilation issue with Remix. Fixed by adding this package to the serverDependenciesToBundle in remix.config.json.

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

No branches or pull requests

1 participant