Commit 34d4827
fix: rename config import to stackConfig to avoid shadowing Vercel function config
The imported 'config' from objectstack.config.ts was being shadowed by the
exported 'config' object (Vercel function configuration) at the end of the file.
This caused stackConfig.plugins to be undefined, preventing any plugins from
being registered during kernel bootstrap.
Fixes the "CRITICAL: Required service missing: data" error on Vercel deployment.
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/e4cad7a6-741c-4f4d-9ab8-c69516fa044e
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent d062a77 commit 34d4827
1 file changed
+4
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 36 | | |
41 | 37 | | |
42 | 38 | | |
43 | 39 | | |
44 | 40 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 41 | + | |
| 42 | + | |
48 | 43 | | |
49 | 44 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| 45 | + | |
53 | 46 | | |
54 | 47 | | |
55 | 48 | | |
| |||
0 commit comments