18 questions
0
votes
0
answers
59
views
MedusaJS cookies not set with SameSite=None for cross-subdomain admin panel (Nginx + VPS)
I'm self hosting a MedusaJS backend on a VPS, serving both a store (studyswags.pk) and an admin panel (admin.studyswags.pk) on separate subdomains.
I want authentication/session cookies to be ...
0
votes
0
answers
52
views
Error starting Server in Railway Deployment
Issue Summary
In my Medusa project, the server fails to start and throws the error Error starting server. The error occurs right after the log message Strategies initialized. Unfortunately, the logs ...
2
votes
0
answers
152
views
Custom Payment Provider for Mollie Failed to Complete Flow and Create Order
I have created a custom payment provider for Mollie using the steps mentioned in the docs. I am able to initiate and complete the payment, but when the payment is complete and the webhook event ...
-1
votes
1
answer
121
views
“Server Component Error” When Using "use client" in Next.js and Medusa.js Project
I'm working on an e-commerce project using Next.js and Medusa.js, and I'm encountering a "Server Component Error" when I add "use client" to a component. I need this directive for ...
-3
votes
1
answer
221
views
After installing medusa strapi, i get an error when i run npm run develop to start strapi
Describe the bug
A clear and concise description of what the bug is.
I have the medusa backend running 100% with no issues. I am also able to run the medusa frontend and they both communicate properly....
1
vote
1
answer
276
views
How to Modify SQL Table Using a Custom Service in Medusa V2?
I'm currently working with Medusa V2 and trying to create a custom service inside the modules folder. However, I'm unsure how to modify the SQL table using this service in the new version.
In Medusa ...
2
votes
4
answers
531
views
backend url is given as undefined
Server Error
TypeError: Failed to parse URL from undefined/store/regions
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Source
src\middleware....
0
votes
1
answer
2k
views
I have setup medusa js for my headless ecommerce, but there is no backend source code for customization
I've installed medusa js using the create-medusa-app command and it successfully created 2 folders medusa & medusa-storefront. In medusa-storefront there is next js source code of every module but ...
0
votes
1
answer
86
views
In medusa nextjs useToggleState() are showing error. How to solve it?
The index.tsx file in my Next.js (14.04) project has invokes a function useToggleState:
export default async function Nav() {
const regions = await listrRegions().then((regions) => regions)
...
0
votes
1
answer
1k
views
medusa js custom payment plugin can not test locally
I am trying to develop a custom plugin for adding custom payment provider. I follow the instructions from the docs https://docs.medusajs.com/development/plugins/publish but when I try to test plugin ...
1
vote
0
answers
255
views
Creating React Native App with Medusa.js - Cannot create admin due to module error
application error screenshot
Hi there. I'm trying to figure out why my admin panel is not working with medusa.js for this e-commerce app tutorial I am following. Please see the link to tutorial below:...
1
vote
0
answers
322
views
Install of Medusa.js (on MacOS Catalina) hanging for a 10 hours, what can I check or try?
I am attempting to install Medusa on MacOS (Catalina). I installed the dependencies listed in the documentation and then used npx create-medusa-app@latest to begin the install. Terminal shows project ...
1
vote
1
answer
449
views
npm install hangs on Google Cloud Compute Engine VM
I'm trying to get a Medusa backend to run on a Google Cloud Compute Engine VM. When running npm i --verbose the command always hangs with the last line printed being:
reify:@swc/core-darwin-arm64: ...
1
vote
0
answers
668
views
http://localhost:9000/admin/store/ net::ERR_CONNECTION_REFUSED
I try running React App (medusa.js).
medusa server is running on port 9000
medusa admin is running on port 7001
medusa storefront is running on port 8000
Now I add reverse proxy in nginx configuration:...
2
votes
0
answers
637
views
Medusa.js backend admin blank page
I running both storefront starter template and backend admin medusa.js.
Frontend template working correct.
When I curl for admin backend, I see only:
[root@vim1999 ~]# curl http://localhost:7001
<...
-1
votes
1
answer
597
views
Medusa JS Service is not recognized On subscriber
Medusa's custom service is not referenced in the subscriber
Describe the bug
I Have a service custom for example I referred on pre-existing example onboardingService
when I run medusa develop i am ...
1
vote
0
answers
232
views
Automatically Generating API Reference for Custom Endpoints in MedusaJS v1.3.17
Hello StackOverflow community,
I'm currently working with MedusaJS version 1.3.17 for our e-commerce backend. As our project has grown, we've added several custom endpoints to cater to our specific ...
0
votes
1
answer
368
views
Unable to install npm package from gitlab registry
I published npm package to gitlab package registry. I think it was successful, but I am unable to install package into another project.
Npm install gives me following error:
PS E:\faq\medusa-1.16> ...