Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install nextjs-started-medusa #7750

Closed
Staxar opened this issue Jun 17, 2024 · 4 comments · Fixed by #7806
Closed

Install nextjs-started-medusa #7750

Staxar opened this issue Jun 17, 2024 · 4 comments · Fixed by #7806

Comments

@Staxar
Copy link

Staxar commented Jun 17, 2024

Bug report

Describe the bug

Hey!
Facing with problem today with medusa js installation

System information

Medusa version (including plugins):
Node.js version: v20.11.1
Database: postgres
Operating system: w10
Terminal: powershell

Steps to reproduce the behavior

PS D:\Projects\ecommerce> npx create-medusa-app@latest --db-url "my-db-url" --seed --with-nextjs-starter
? What's the name of your project? my-medusa-store
? Enter an email for your admin dashboard user [email protected]
🚀 Starting project setup, this may take a few minutes.
✔ Created project directory
⠹ Installing Next.js Storefront...

┌────────────────────────────────────────────────── 💡 Medusa Tips ──────────────────────────────────────────────────┐
│ │
│ Medusa provides multi-currency and region support, with full control over prices for each currency and region. │
│ │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
An error occurred while installing Next.js storefront: Error: Command failed: npx create-next-app -e https://github.com/medusajs/nextjs-starter-medusa my-medusa-store-storefront
Found invalid GitHub URL: "https://github.com/medusajs/nextjs-starter-medusa". Please fix the URL and try again.

On bash is working

@shahednasser
Copy link
Member

Thanks fo reporting this! Seems like the installation isn't using the latest create-next-app command. Will open a PR to fix it

@navadeep-munjam
Copy link

npx create-next-app@latest -e https://github.com/medusajs/nextjs-starter-medusa my-medusa-store-storefront
Use this

Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 3 days.

@github-actions github-actions bot added the Stale label Sep 30, 2024
@shahednasser
Copy link
Member

This issue should be fixed, will close it. Feel free to re-open it if necessary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants