You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am running inside Docker using the command docker run -p 3000:3000 -m 8g --rm -it -v ${PWD}:/workspace hydrogen.
I launch hydrogen using yarn dev --host.
In my chrome browser, I went to the address http://localhost:3000/graphql and I got the following error
root@574d7c760c44:/workspace# yarn dev --host
yarn run v1.22.19
$ GENERATE_SOURCEMAP=false shopify hydrogen dev --host
> Local: http://localhost:3000/
> Network: http://172.17.0.2:3000/
GET streaming SSR 200 ok 1991.13 ms http://localhost:3000/
GET streaming SSR 200 ok 10876.29 ms http://localhost:3000/
GET streaming SSR 200 ok 52.20 ms http://localhost:3000/graphq;
GET streaming SSR 200 ok 68.24 ms http://localhost:3000/__graphql
GET streaming SSR 200 ok 62.75 ms http://localhost:3000/__graphql
/workspace/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
throw ex;
^
TypeError: Invalid URL
at new NodeError (node:internal/errors:387:5)
at URL.onParseError (node:internal/url:565:9)
at new URL (node:internal/url:641:5)
at getShopifyConfig (/workspace/node_modules/@shopify/hydrogen/dist/node/framework/plugins/vite-plugin-hydrogen-middleware.js:39:33)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async /workspace/node_modules/@shopify/hydrogen/dist/node/framework/middleware.js:31:35 {
input: 'http://:::3000/graphql',
code: 'ERR_INVALID_URL'
}
error Command failed with exit code 7.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
root@574d7c760c44:/workspace# exitexit
The text was updated successfully, but these errors were encountered:
Describe the bug
I am running inside Docker using the command
docker run -p 3000:3000 -m 8g --rm -it -v ${PWD}:/workspace hydrogen
.I launch hydrogen using
yarn dev --host
.In my chrome browser, I went to the address
http://localhost:3000/graphql
and I got the following errorThe text was updated successfully, but these errors were encountered: