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

Taro alipay miniprograme with apollo/client 3.7.3: ReferenceError: __DEV__ is not defined #10380

Closed
ghost opened this issue Dec 21, 2022 · 4 comments
Labels

Comments

@ghost
Copy link

ghost commented Dec 21, 2022

Taro : 3.5.10
apollo client: 3.7.5

The program works fine when I don't use apollo/client, and the ReferenceError when I use apollo/client times
ReferenceError: DEV is not defined
image

This is how I define it
image

@jerelmiller jerelmiller added 🔍 investigate Investigate further 🏓 awaiting-team-response requires input from the apollo team labels Dec 21, 2022
@bignimbus
Copy link
Contributor

Hi @sunan112 👋🏻 this is addressed in #10521, which when merged will be included in out 3.8 release. If you get a moment please let us know if that fix is working on your end. CC @benjamn

@bignimbus bignimbus added 🐞 bug and removed 🔍 investigate Investigate further 🏓 awaiting-team-response requires input from the apollo team labels Feb 6, 2023
@alessbell
Copy link
Member

The change @bignimbus was referring to is now released in our latest an alpha: you can install it with npm i @apollo/client@alpha or the package manager of your choice :) If you have a chance to test it out, would love to know if that helps!

@bignimbus
Copy link
Contributor

Hi @sunan112 👋🏻 just wanted to follow up here - we are closing this issue as completed. Please do feel free to open a new issue if you continue to see this happening after trying npm i @apollo/client@alpha 🙏🏻

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
For general questions, we recommend using StackOverflow or our discord server.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants