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

How to access window variables #725

Open
6 tasks done
jxh150535011 opened this issue May 27, 2024 · 0 comments
Open
6 tasks done

How to access window variables #725

jxh150535011 opened this issue May 27, 2024 · 0 comments
Labels
to triage This issue needs to be triaged

Comments

@jxh150535011
Copy link

Describe the bug

My application will load certain modules that will attempt to access the window.fetch variable (throw an error if the window.fetch variable does not exist).
This will cause the module to throw an exception directly during the "Error while collecting story" phase.
Is there any configuration for me to add polyfill or other troubleshooting methods to prevent this module from executing on the node side for the current issue

Reproduction

/

System Info

node 16.x

Used Package Manager

pnpm

Validations

@jxh150535011 jxh150535011 added the to triage This issue needs to be triaged label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant