Raw
1 /** @type {import('types').Sidebar.SidebarItem[]} */
2 export const troubleshootingSidebar = [
3 {
4 type: "link",
5 path: "/troubleshooting",
6 title: "Overview",
7 },
8 {
9 type: "separator",
10 },
11 {
12 type: "category",
13 title: "Installation",
14 initialOpen: true,
15 children: [
16 {
17 type: "link",
18 path: "/troubleshooting/create-medusa-app-errors",
19 title: "Create Medusa App Errors",
20 },
21 {
22 type: "link",
23 path: "/troubleshooting/errors-installing-cli",
24 title: "Errors Installing CLI",
25 },
26 {
27 type: "link",
28 path: "/troubleshooting/general-errors",
29 title: "General Errors",
30 },
31 {
32 type: "link",
33 path: "/troubleshooting/pnpm",
34 title: "pnpm Errors",
35 },
36 ],
37 },
38 {
39 type: "category",
40 title: "Upgrade",
41 initialOpen: true,
42 children: [
43 {
44 type: "link",
45 path: "/troubleshooting/errors-after-upgrading",
46 title: "Errors After Upgrading",
47 },
48 ],
49 },
50 {
51 type: "category",
52 title: "Build and Deployment",
53 initialOpen: true,
54 children: [
55 {
56 type: "link",
57 path: "/troubleshooting/esm-syntax-error",
58 title: "Unexpected token 'export' Error",
59 },
60 ],
61 },
62 {
63 type: "category",
64 title: "Framework",
65 initialOpen: true,
66 children: [
67 {
68 type: "sub-category",
69 title: "API Routes",
70 children: [
71 {
72 type: "link",
73 title: "Unrecognized Additional Data",
74 path: "/troubleshooting/api-routes/additional-data-error",
75 },
76 {
77 type: "link",
78 title: "Middleware Registration",
79 path: "/troubleshooting/api-routes/middleware-registration",
80 },
81 {
82 type: "link",
83 title: "Route Registration Error",
84 path: "/troubleshooting/api-routes/route-registration-error",
85 },
86 ],
87 },
88 {
89 type: "link",
90 path: "/troubleshooting/database-errors",
91 title: "Database Errors",
92 },
93 {
94 type: "link",
95 path: "/troubleshooting/eaddrinuse",
96 title: "EADDRINUSE Error",
97 },
98 {
99 type: "link",
100 path: "/troubleshooting/dist-imports",
101 title: "Importing from /dist",
102 },
103 {
104 type: "link",
105 path: "/troubleshooting/modules/resolve-path",
106 title: "Module Provider Resolve Path Error",
107 },
108 {
109 type: "sub-category",
110 title: "Query",
111 children: [
112 {
113 type: "link",
114 path: "/troubleshooting/query/expression-type-error",
115 title: "Expression Type Error",
116 },
117 {
118 type: "link",
119 path: "/troubleshooting/query/filter-linked",
120 title: "Not Existing Property",
121 },
122 {
123 type: "link",
124 path: "/troubleshooting/query/metadata-filtering",
125 title: "Metadata Filtering",
126 },
127 {
128 type: "link",
129 path: "/troubleshooting/query/not-assignable-type",
130 title: "Not Assignable to Custom Type",
131 },
132 {
133 type: "link",
134 path: "/troubleshooting/query/service-list",
135 title: "service.list Error",
136 },
137 ],
138 },
139 {
140 type: "link",
141 path: "/troubleshooting/scheduled-job-not-running",
142 title: "Scheduled Job Not Running",
143 },
144 {
145 type: "link",
146 path: "/troubleshooting/subscribers/not-working",
147 title: "Subscribers Not Working",
148 },
149 {
150 type: "link",
151 path: "/troubleshooting/test-errors",
152 title: "Test Errors",
153 },
154 {
155 type: "sub-category",
156 title: "Workflows",
157 children: [
158 {
159 type: "link",
160 path: "/troubleshooting/workflow-errors/when-then",
161 title: "Handler Not Found",
162 },
163 {
164 type: "link",
165 path: "/troubleshooting/workflow-errors/step-x-defined",
166 title: "Step Already Defined",
167 },
168 ],
169 },
170 {
171 type: "link",
172 title: "ValidationError",
173 path: "/troubleshooting/validation-error",
174 },
175 ],
176 },
177 {
178 type: "category",
179 title: "Frontend",
180 initialOpen: true,
181 children: [
182 {
183 type: "link",
184 path: "/troubleshooting/cors-errors",
185 title: "CORS Errors",
186 },
187 ],
188 },
189 {
190 type: "category",
191 title: "Integrations",
192 initialOpen: true,
193 children: [
194 {
195 type: "link",
196 path: "/troubleshooting/s3",
197 title: "S3 Module Provider Errors",
198 },
199 {
200 type: "link",
201 path: "/troubleshooting/payment",
202 title: "Payment Provider Errors",
203 },
204 ],
205 },
206 {
207 type: "category",
208 title: "Admin Development",
209 initialOpen: true,
210 children: [
211 {
212 type: "link",
213 path: "/troubleshooting/medusa-admin/no-widget-route",
214 title: "Widget or Route not Showing",
215 },
216 {
217 type: "link",
218 path: "/troubleshooting/medusa-admin/blocked-request",
219 title: "Blocked Request",
220 },
221 {
222 type: "link",
223 path: "/troubleshooting/medusa-admin/build-error",
224 title: "index.html Error",
225 },
226 ],
227 },
228 {
229 type: "category",
230 title: "Storefront",
231 initialOpen: true,
232 children: [
233 {
234 type: "sub-category",
235 title: "Next.js Starter",
236 children: [
237 {
238 type: "link",
239 path: "/troubleshooting/nextjs-node-25",
240 title: "Errors with Node v25+",
241 },
242 {
243 type: "link",
244 path: "/troubleshooting/nextjs-starter-rewrites",
245 title: "Google Cloud Run Error",
246 },
247 {
248 type: "link",
249 path: "/troubleshooting/nextjs-build-404",
250 title: "Dynamic Routes 404 During Build",
251 },
252 ],
253 },
254 {
255 type: "sub-category",
256 title: "Publishable API Key Errors",
257 children: [
258 {
259 type: "link",
260 path: "/troubleshooting/storefront-missing-pak",
261 title: "Missing Publishable API Key",
262 },
263 {
264 type: "link",
265 path: "/troubleshooting/storefront-pak-sc",
266 title: "Sales Channels Error",
267 },
268 ],
269 },
270 ],
271 },
272 ]