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

fix: imported crypto-hash modules from browser #62

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

cabreraction
Copy link
Contributor

while trying to import the this extension I encountered an error that was happening due to this file importing the crypto-hash methods from the nodejs api rather than the browser one. This PR is a request to have the same methods be imported from the browser version instead.

@drodil drodil merged commit 099860e into drodil:main Nov 22, 2023
2 checks passed
@drodil
Copy link
Owner

drodil commented Nov 22, 2023

Thanks for this!

@drodil
Copy link
Owner

drodil commented Nov 22, 2023

Getting the following error now:

Module not found: Package path ./browser is not exported from package backstage-plugin-toolbox/node_modules/crypto-hash (see exports field in backstage-plugin-toolbox/node_modules/crypto-hash/package.json)
src/components/Generators/Hash.tsx

This pull request was closed.
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

Successfully merging this pull request may close these issues.

2 participants