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
Clone the repository, install packages, and run the build script.
Logs
> Using @sveltejs/adapter-cloudflare-workers
> .svelte-kit/cloudflare-workers-tmp/entry.js:1:20: error: Could not resolve "..outputserver/app.js" (mark it as external to exclude it from the bundle)
1 │ import { App } from '..\output\server/app.js';
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~
> .svelte-kit/cloudflare-workers-tmp/manifest.js:8:16: error: Could not resolve "..outputserver/nodes/0.js" (mark it as external to exclude it from the bundle, or add ".catch()" to handle the failure at run-time)
8 │ () => import('..\output\server/nodes/0.js'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> .svelte-kit/cloudflare-workers-tmp/manifest.js:9:16: error: Could not resolve "..outputserver/nodes/1.js" (mark it as external to exclude it from the bundle, or add ".catch()" to handle the failure at run-time)
9 │ () => import('..\output\server/nodes/1.js'),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> .svelte-kit/cloudflare-workers-tmp/manifest.js:10:16: error: Could not resolve "..outputserver/nodes/2.js" (mark it as external to exclude it from the bundle, or add ".catch()" to handle the failure at run-time)
10 │ () => import('..\output\server/nodes/2.js')
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Build failed with 4 errors:
.svelte-kit/cloudflare-workers-tmp/entry.js:1:20: error: Could not resolve "..outputserver/app.js" (mark it as external to exclude it from the bundle)
.svelte-kit/cloudflare-workers-tmp/manifest.js:8:16: error: Could not resolve "..outputserver/nodes/0.js" (mark it as external to exclude it from the bundle, or add ".catch()" to handle the failure at run-time)
.svelte-kit/cloudflare-workers-tmp/manifest.js:9:16: error: Could not resolve "..outputserver/nodes/1.js" (mark it as external to exclude it from the bundle, or add ".catch()" to handle the failure at run-time)
.svelte-kit/cloudflare-workers-tmp/manifest.js:10:16: error: Could not resolve "..outputserver/nodes/2.js" (mark it as external to exclude it from the bundle, or add ".catch()" to handle the failure at run-time)
Error: Build failed with 4 errors:
.svelte-kit/cloudflare-workers-tmp/entry.js:1:20: error: Could not resolve "..outputserver/app.js" (mark it as external to exclude it from the bundle)
.svelte-kit/cloudflare-workers-tmp/manifest.js:8:16: error: Could not resolve "..outputserver/nodes/0.js" (mark it as external to exclude it from the bundle, or add ".catch()" to handle the failure at run-time)
.svelte-kit/cloudflare-workers-tmp/manifest.js:9:16: error: Could not resolve "..outputserver/nodes/1.js" (mark it as external to exclude it from the bundle, or add ".catch()" to handle the failure at run-time)
.svelte-kit/cloudflare-workers-tmp/manifest.js:10:16: error: Could not resolve "..outputserver/nodes/2.js" (mark it as external to exclude it from the bundle, or add ".catch()" to handle the failure at run-time)
at failureErrorWithLog (issue-adapter-cloudflare-workers\node_modules\esbuild\lib\main.js:1493:15)
at issue-adapter-cloudflare-workers\node_modules\esbuild\lib\main.js:1151:28
at runOnEndCallbacks (issue-adapter-cloudflare-workers\node_modules\esbuild\lib\main.js:1069:65)
at buildResponseToResult (issue-adapter-cloudflare-workers\node_modules\esbuild\lib\main.js:1149:7)
at issue-adapter-cloudflare-workers\node_modules\esbuild\lib\main.js:1258:14
at issue-adapter-cloudflare-workers\node_modules\esbuild\lib\main.js:629:9
at handleIncomingPacket (issue-adapter-cloudflare-workers\node_modules\esbuild\lib\main.js:726:9)
at Socket.readFromStdout (issue-adapter-cloudflare-workers\node_modules\esbuild\lib\main.js:596:7)
at Socket.emit (node:events:390:28)
at addChunk (node:internal/streams/readable:315:12)
Describe the bug
adapter-cloudflare-workers
build fails in Windows.Related to #3163 - applying the identical fix of #3200 solves the problem.
Reproduction
https://github.com/hyunbinseo/issue-adapter-cloudflare-workersClone the repository, install packages, and run thebuild
script.Logs
System Info
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: