Git Product home page Git Product logo

Comments (5)

wandingistaken avatar wandingistaken commented on July 21, 2024 2

The same error happened to me logging because I forgot to wrap my login page with createUrqlClient
export default withUrqlClient(createUrqlClient)(Login);

from lireddit.

caicaishmily avatar caicaishmily commented on July 21, 2024 1

from your screenshot it looks like it is making a request to localhost:3000 not localhost:4000

I cloned your repo then compare it with my code. I found the only difference between our code is the package.json file.
Then I copied your package.json and rm -rf node_modules && yarn install,
It worked.
Maybe it's caused by the dependency version.
Anyway, Thx a lot! @benawad

from lireddit.

benawad avatar benawad commented on July 21, 2024

from your screenshot it looks like it is making a request to localhost:3000 not localhost:4000

from lireddit.

caicaishmily avatar caicaishmily commented on July 21, 2024

from your screenshot it looks like it is making a request to localhost:3000 not localhost:4000

Yes, But what make me feel confused is that I set the request url is localhost:4000. However, it request for localhost:3000. So weird.

from lireddit.

voland62 avatar voland62 commented on July 21, 2024

Got the same problem. This is iteresting.. Nothing helped, even caicaishmily's method...
It says:

Default Client: No client has been specified using urql's Provider.This means that urql will be falling back to defaults including making requests to /graphql.
If that's not what you want, please create a client and add a Provider.

But, then I found, if we replace yarn.lock from ben's repo(branch 15_urql-ssr in our case), all works after /node_modules refresh!...

from lireddit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.