-
Notifications
You must be signed in to change notification settings - Fork 13
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
Nft catalog not working in web enviroment #94
Comments
What npm version of the package are you using? |
The latest from the npm, I dont have my PC here, but I literaly started working with it today. 0.1.1 I think. I can't really share the my code, but my guess is that it will be the same issue sinple |
I am also running a react app and having the same "Global is not defined" issue. |
i think the problem is in the webpack config. nft-catalog is being bundled up for use in a node app: https://github.com/dapperlabs/nft-catalog/blob/main/webpack.config.js#L4 we can add a secondary config that bundles this up for client-side consumption |
Issue:
Uncaught (in promise) ReferenceError: global is not defined
Possible cause:
node
, https://stackoverflow.com/questions/45175521/referenceerror-global-is-not-defined-at-eval (similar issue on stackoverflow)Again, thanks for developing this package 👍 helps a lot :)
The text was updated successfully, but these errors were encountered: