You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve Vercel ERR_MODULE_NOT_FOUND for api/_kernel
- Inline _kernel.ts into api/index.ts to eliminate bare extensionless
relative import ('./_kernel') that broke Node ESM resolver at Vercel runtime
- Move hono from devDependencies to dependencies (needed at serverless runtime)
- Use explicit .js extensions for relative imports (create-broker-shim.js,
objectstack.config.js) per ESM best practice
- Delete api/_kernel.ts (content is now co-located in api/index.ts)
- Update CHANGELOG.md with 3.2.10 patch entry
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copy file name to clipboardExpand all lines: apps/studio/CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,15 @@
1
1
# @objectstack/studio
2
2
3
+
## 3.2.10
4
+
5
+
### Patch Changes
6
+
7
+
- Fix Vercel deployment crash (`ERR_MODULE_NOT_FOUND` for `api/_kernel`)
8
+
- Inline `_kernel.ts` content into `api/index.ts` to eliminate the bare extensionless relative import that broke Node's ESM resolver
9
+
- Move `hono` from `devDependencies` to `dependencies` so it is available in the Vercel serverless runtime
10
+
- Use explicit `.js` file extensions for relative imports in the API entrypoint (`create-broker-shim.js`, `objectstack.config.js`) per ESM best practice
11
+
- Delete `api/_kernel.ts` — all kernel/service initialisation is now co-located in `api/index.ts`
0 commit comments