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

"Doesn't work" (/api/hydrogen/hooks/global/usequery) #2390

Open
mcvinci opened this issue Dec 9, 2022 · 1 comment
Open

"Doesn't work" (/api/hydrogen/hooks/global/usequery) #2390

mcvinci opened this issue Dec 9, 2022 · 1 comment
Labels
bug Something isn't working documentation Improvements or additions to documentation aka docs

Comments

@mcvinci
Copy link
Contributor

mcvinci commented Dec 9, 2022

Doesn't work

Feedback received for:

Next steps:

This is an automated GitHub issue created with feedback received on Shopify.dev.


View User Agent Details Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
View IP Data {"asn"=>"267320", "anon"=>"0", "anonVpn"=>"0", "hostProvider"=>"0", "pubProxy"=>"0", "torExit"=>"0", "countryCode"=>"BR", "regionCode"=>"BA", "regionName"=>"Bahia", "cityName"=>"Salvador", "postalCode"=>"40000", "timeZone"=>"America/Bahia", "lat"=>"-12.86710", "long"=>"-38.48070", "ssbipAnon"=>"0", "ssbipAnonVpn"=>"0", "ssbipHostProvider"=>"0", "ssbipPubProxy"=>"0", "ssbipTorExit"=>"0"}
Metadata Please do not edit any metadata. Ask in #core-build-learn for help.

slack_channel: hydrogen
vault_team: https://vault.shopify.io/teams/2632
team_name: Hydrogen

@mcvinci mcvinci added bug Something isn't working documentation Improvements or additions to documentation aka docs labels Dec 9, 2022
@mdunbavan
Copy link

mdunbavan commented Dec 12, 2022

Hey,

Just saw this issue and wanted to flag that on version 1.3.0 this is giving me issues too.

On production build it is not working but locally it is absolutely fine. Looking further into it I am guessing what is being used behind the scenes for the useQuery api hook is what is breaking in production with fetch or Axios.

Anyway, it would be good to see if this was being looked into right now.

The error I get on production is below:

error: TypeError: (e.adapter || Es.adapter) is not a function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation aka docs
Projects
None yet
Development

No branches or pull requests

2 participants