Giter Site home page Giter Site logo

Comments (6)

msiviero avatar msiviero commented on June 12, 2024 1

Turned out, at least for me, that the default country in src/middleware.ts is 'us' and I didn't configure a region with it. Changing the default country made it work

from nextjs-starter-medusa.

msiviero avatar msiviero commented on June 12, 2024

Same here

from nextjs-starter-medusa.

VariableVic avatar VariableVic commented on June 12, 2024

Yeah, I should point this out in Readme! Thanks for bringing it up

from nextjs-starter-medusa.

ahgsql avatar ahgsql commented on June 12, 2024

After changing region in middleware.ts, i was able to fix the problem too.

from nextjs-starter-medusa.

AlbertoCanoD avatar AlbertoCanoD commented on June 12, 2024

I have a doubt, I am only going to use the spanish region, my clients can only come from there, is there any way to simplify everything, it is giving me a lot of 307 problems even if I change the hardcoded region or the environment variable, I am deploying the front end in Vercel. Thank you very much!!!

@VariableVic @msiviero

P.D. : Running in localhost it works with "es" value.

from nextjs-starter-medusa.

mehdinourollah avatar mehdinourollah commented on June 12, 2024

After changing default value to "de" I get internal server error as follow:

 ⨯ node_modules\@medusajs\medusa-js\node_modules\axios\lib\core\createError.js (16:14) @ createError
 ⨯ Error: Request failed with status code 500
    at IncomingMessage.emit (node:events:529:35)
null

any idea ?

from nextjs-starter-medusa.

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.