medusa icon indicating copy to clipboard operation
medusa copied to clipboard

Cannot start Medusa after the first launch

Open howardRaul1 opened this issue 1 year ago • 0 comments

What Medusa version and documentation are you using?

v2

Preliminary Checks

  • [X] This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/medusajs/medusa/issues

Issue Summary

System information Medusa version: 2.0.1. Node.js version: v20.18.0 Database: Postgres 17 Operating system: Windows 10

Steps to Reproduce Following the Quick Start Guide, I ran "npx create-medusa-app@latest" to launch Medusa for the first time, and it worked fine.

However, after I restarted my computer and tried to launch Medusa a second time, I believe that I cannot re-use the above command anymore, because I am not "creating" a new Medusa instance.

Instead, to start Medusa, I followed the documentation at "https://docs.medusajs.com/learn/first-customizations" to run "npm run dev". Then, I got the following errors:

C:\Users\xxx\xxx\medusa> npm run dev npm error Missing script: "dev" npm error npm error To see a list of scripts, run: npm error npm run

How can this issue be resolved?

...

Are you interested in working on this issue?

  • [ ] I would like to fix this issue

howardRaul1 avatar Oct 30 '24 14:10 howardRaul1