Skip to content

Commit

Permalink
fix(create-medusa-app): ensure the latest create-next-app version is …
Browse files Browse the repository at this point in the history
…used (#7806)
  • Loading branch information
shahednasser authored Jun 25, 2024
1 parent 268c482 commit c1c61b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tall-queens-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-medusa-app": patch
---

fix(create-medusa-app): ensure the latest create-next-app version is used
2 changes: 1 addition & 1 deletion packages/create-medusa-app/src/utils/nextjs-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export async function installNextjsStarter({
try {
await execute(
[
`npx create-next-app -e ${NEXTJS_REPO} ${nextjsDirectory}`,
`npx create-next-app@latest -e ${NEXTJS_REPO} ${nextjsDirectory}`,
{
signal: abortController?.signal,
env: {
Expand Down

0 comments on commit c1c61b1

Please sign in to comment.