Repository navigation
Labels
bugSomething isn't working
Description
Description
I cannot access the settings page for webhook-notifier. what else do I need to do?
Steps to reproduce
- install blog template
- run
bun run dev
Environment
- emdash version: 0.1.0
- webhook-notifier version: 0.1.0
- node version: 22.13.1
- runtime: cloudflare workers
- os: macOS
Logs / error output
This pops up on the settings page:
Plugin responded with 400: {"error":{"code":"ROUTE_ERROR","message":"Failed to start Worker:\nUncaught SyntaxError: Unexpected token '{'\n at sandbox-plugin.js:9:12"}}This pops up in the terminal even if I'm not visiting the settings page:
15:25:36 [ERROR] [vite] EmDash: Sandboxed plugin route error: Error: Failed to start Worker:
Uncaught SyntaxError: Unexpected token '{'
at sandbox-plugin.js:9:12
at CloudflareSandboxedPlugin.withWallTimeLimit (/Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/@emdash-cms_cloudflare_sandbox.js?v=48c575ae:839:14)
at EmDashRuntime2.handleSandboxedRoute (/Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/emdash_middleware.js?v=48c575ae:1410:15)
at Module.handleRequest (/Users/finn/code/emdash/hello-theme/node_modules/emdash/src/astro/routes/api/plugins/[pluginId]/[...path].ts?v=48c575ae:68:17)
at renderEndpoint (/Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/chunk-BMNZU5YI.js?v=48c575ae:46:18)
at lastNext (/Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/chunk-AHTG6H44.js?v=48c575ae:2011:23)
at /Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/emdash_middleware.js?v=48c575ae:1647:29
at callMiddleware (/Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/chunk-AHTG6H44.js?v=48c575ae:1034:10)
at _RenderContext.render (/Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/chunk-AHTG6H44.js?v=48c575ae:2058:73)
at DevApp.render (/Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/chunk-AHTG6H44.js?v=48c575ae:2968:20)
at Object.handle [as fetch] (/Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/@astrojs_cloudflare_entrypoints_server.js?v=48c575ae:208:20)
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
luozhouyang commentedon Apr 3, 2026
It seems that webhook-notifier plugin exports *.ts files rather than javascript files.
ZebTheWizard commentedon Apr 3, 2026
I don't think that matters. The forms plugin also only exports *.ts files and that plugin partially works.
thecodedad commentedon Apr 7, 2026
I'm experiencing this as well.
fix(webhook-notifier): add build step and export built files
fix(core): reject unbuilt source in sandbox module generator and bund…
fix: validate sandbox plugin exports and fix plugin packaging (emdash…
fix: validate sandbox plugin exports and fix plugin packaging (emdash…