1 import TypeError from "../_sections/create-medusa-app-errors/typeerror.mdx"
2 import OtherErrors from "../_sections/create-medusa-app-errors/other-errors.mdx"
3 import NextjsError from "../_sections/nextjs/cma-option.mdx"
4 import InvalidTokenError from "../_sections/create-medusa-app-errors/no-browser-token-error.mdx"
5 import DockerSection from "../_sections/database-errors/docker.mdx"
6 import DbUrlError from "../_sections/create-medusa-app-errors/db-url-error.mdx"
7 import ForwardingError from "../_sections/create-medusa-app-errors/forwarding.mdx"
8 import SaslSection from '../_sections/database-errors/sasl.mdx'
9 import ModuleXErrorSection from '../_sections/common-installation-errors/module-x-error.mdx'
10 import Node25Troubleshooting from "../_sections/create-medusa-app-errors/nextjs-node-25.mdx"
11
12 export const metadata = {
13 title: `Common create-medusa-app Errors`,
14 }
15
16 # {metadata.title}
17
18 This troubleshooting guide covers common errors you may encounter when using the `create-medusa-app` command to set up a new Medusa application and how to resolve them.
19
20 ## General Errors Connecting to Database
21
22 <SaslSection />
23
24 ---
25
26 ## TypeError: cmd is not a function
27
28 <TypeError />
29
30 ---
31
32 ## Errors when using VSCode or GitHub Codespaces
33
34 <ForwardingError />
35
36 ---
37
38 ## Invalid Token Error with --no-browser Option
39
40 <InvalidTokenError />
41
42 ---
43
44 ## Can't Connect to PostgreSQL Docker Container
45
46 <DockerSection />
47
48 ---
49
50 ## Can't connect to database with --db-url option
51
52 <DbUrlError />
53
54 ---
55
56 ## Can't Access Next.js Starter Storefront
57
58 <NextjsError />
59
60 ---
61
62 ## Issues when installing with Node v25+
63
64 <Node25Troubleshooting />
65
66 ---
67
68 ## Resolve "Cannot find module X" Errors
69
70 <ModuleXErrorSection />
71
72 ---
73
74 ## Other Errors
75
76 <OtherErrors />