> astro dev --verbose
astro:cli --verbose flag enabled! Enabling: DEBUG="*,-babel" +0ms
astro:cli Tip: Set the DEBUG env variable directly for more control. Example: "DEBUG=astro:*,vite:* astro build". +3ms
> node_modules/@astropub/codecs/dist/codecs.js:7:34: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
7 โ const fetch = globalThis.fetch || await import('@astropub/webapi').then(webapi => webapi.fetch, (...
โต ~~~~~
> node_modules/@astropub/codecs/dist/codecs.js:1:25: error: Could not resolve "node:process" (mark it as external to exclude it from the bundle)
1 โ import * as process from 'node:process'
โต ~~~~~~~~~~~~~~
> node_modules/@astropub/codecs/dist/codecs.js:7:109: error: Could not resolve "node:fs/promises" (mark it as external to exclude it from the bundle, or add ".catch()" to handle the failure at run-time)
7 โ ...mport('@astropub/webapi').then(webapi => webapi.fetch, () => import('node:fs/promises').readFile)
โต ~~~~~~~~~~~~~~~~~~
> node_modules/@astropub/codecs/dist/avif/thread.js:1:24: error: Could not resolve "node:worker_threads" (mark it as external to exclude it from the bundle)
1 โ import * as thread from 'node:worker_threads'
โต ~~~~~~~~~~~~~~~~~~~~~
> node_modules/@astropub/codecs/dist/transform/blurhash/thread.js:1:24: error: Could not resolve "node:worker_threads" (mark it as external to exclude it from the bundle)
1 โ import * as thread from 'node:worker_threads'
โต ~~~~~~~~~~~~~~~~~~~~~
> node_modules/@astropub/codecs/dist/wp2/thread.js:1:24: error: Could not resolve "node:worker_threads" (mark it as external to exclude it from the bundle)
1 โ import * as thread from 'node:worker_threads'
โต ~~~~~~~~~~~~~~~~~~~~~
> node_modules/@astropub/codecs/dist/png/thread.js:1:24: error: Could not resolve "node:worker_threads" (mark it as external to exclude it from the bundle)
1 โ import * as thread from 'node:worker_threads'
โต ~~~~~~~~~~~~~~~~~~~~~
> node_modules/@astropub/codecs/dist/jpg/thread.js:1:24: error: Could not resolve "node:worker_threads" (mark it as external to exclude it from the bundle)
1 โ import * as thread from 'node:worker_threads'
โต ~~~~~~~~~~~~~~~~~~~~~
> node_modules/@astropub/codecs/dist/webp/thread.js:1:24: error: Could not resolve "node:worker_threads" (mark it as external to exclude it from the bundle)
1 โ import * as thread from 'node:worker_threads'
โต ~~~~~~~~~~~~~~~~~~~~~
> node_modules/@astropub/codecs/dist/jxl/thread.js:1:24: error: Could not resolve "node:worker_threads" (mark it as external to exclude it from the bundle)
1 โ import * as thread from 'node:worker_threads'
โต ~~~~~~~~~~~~~~~~~~~~~
> node_modules/@astropub/codecs/dist/avif/codec.js:16:19: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
16 โ const wasmDecode = await esmDecode.ready.then(exports => exports.decode)
โต ~~~~~
> node_modules/@astropub/codecs/dist/transform/blur/thread.js:1:24: error: Could not resolve "node:worker_threads" (mark it as external to exclude it from the bundle)
1 โ import * as thread from 'node:worker_threads'
โต ~~~~~~~~~~~~~~~~~~~~~
> node_modules/@astropub/codecs/dist/transform/resize/thread.js:1:24: error: Could not resolve "node:worker_threads" (mark it as external to exclude it from the bundle)
1 โ import * as thread from 'node:worker_threads'
โต ~~~~~~~~~~~~~~~~~~~~~
> node_modules/@astropub/codecs/dist/png/codec.js:5:19: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
5 โ const encdecWasm = await readFile(new URL('./png-enc-dec.wasm', import.meta.url))
โต ~~~~~
> node_modules/@astropub/webapi/mod.js:1:75: error: Could not resolve "node:timers" (mark it as external to
exclude it from the bundle)
1 โ import { setTimeout as setTimeout$1, clearTimeout as clearTimeout$1 } from 'node:timers';
โต ~~~~~~~~~~~~~
> node_modules/@astropub/codecs/dist/avif/codec.js:17:19: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
17 โ const wasmEncode = await esmEncode.ready.then(exports => exports.encode)
โต ~~~~~
> node_modules/@astropub/codecs/dist/jxl/codec.js:16:19: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
16 โ const wasmDecode = await esmDecode.ready.then(exports => exports.decode)
โต ~~~~~
> node_modules/@astropub/codecs/dist/jxl/codec.js:17:19: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
17 โ const wasmEncode = await esmEncode.ready.then(exports => exports.encode)
โต ~~~~~
> node_modules/@astropub/codecs/dist/transform/resize/codec.js:6:16: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
6 โ const asmData = await readFile(asmPath)
โต ~~~~~
> node_modules/@astropub/codecs/dist/wp2/codec.js:16:19: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
16 โ const wasmDecode = await esmDecode.ready.then(exports => exports.decode)
โต ~~~~~
> node_modules/@astropub/codecs/dist/jpg/codec.js:16:19: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
16 โ const wasmDecode = await esmDecode.ready.then(exports => exports.decode)
โต ~~~~~
> node_modules/@astropub/codecs/dist/png/codec.js:6:21: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
6 โ const optimizeWasm = await readFile(new URL('./png-optimize.wasm', import.meta.url))
โต ~~~~~
> node_modules/@astropub/codecs/dist/webp/codec.js:16:19: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
16 โ const wasmDecode = await esmDecode.ready.then(exports => exports.decode)
โต ~~~~~
> node_modules/@astropub/codecs/dist/transform/resize/codec.js:8:0: error: Top-level await is not available
in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
8 โ await codec.default(asmData)
โต ~~~~~
> node_modules/@astropub/codecs/dist/wp2/codec.js:17:19: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
17 โ const wasmEncode = await esmEncode.ready.then(exports => exports.encode)
โต ~~~~~
> node_modules/@astropub/codecs/dist/jpg/codec.js:17:19: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
17 โ const wasmEncode = await esmEncode.ready.then(exports => exports.encode)
โต ~~~~~
> node_modules/@astropub/codecs/dist/webp/codec.js:17:19: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
17 โ const wasmEncode = await esmEncode.ready.then(exports => exports.encode)
โต ~~~~~
> node_modules/@astropub/codecs/dist/png/codec.js:8:0: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
8 โ await encdec.default(encdecWasm)
โต ~~~~~
> node_modules/@astropub/codecs/dist/png/codec.js:9:0: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
9 โ await optimize.default(optimizeWasm)
โต ~~~~~
> node_modules/@astropub/webapi/mod.js:2:17: error: Could not resolve "node:http" (mark it as external to exclude it from the bundle)
2 โ import http from 'node:http';
โต ~~~~~~~~~~~
> node_modules/@astropub/codecs/dist/avif/codec.js:1:29: error: Could not resolve "node:fs" (mark it as external to exclude it from the bundle)
1 โ import { readFileSync } from 'node:fs'
โต ~~~~~~~~~
> node_modules/@astropub/codecs/dist/jxl/codec.js:1:29: error: Could not resolve "node:fs" (mark it as external to exclude it from the bundle)
1 โ import { readFileSync } from 'node:fs'
โต ~~~~~~~~~
> node_modules/@astropub/codecs/dist/png/codec.js:1:25: error: Could not resolve "node:fs/promises" (mark it as external to exclude it from the bundle)
1 โ import { readFile } from 'node:fs/promises'
โต ~~~~~~~~~~~~~~~~~~
> node_modules/@astropub/codecs/dist/transform/resize/codec.js:2:25: error: Could not resolve "node:fs/promises" (mark it as external to exclude it from the bundle)
2 โ import { readFile } from 'node:fs/promises'
โต ~~~~~~~~~~~~~~~~~~
> node_modules/@astropub/codecs/dist/wp2/codec.js:1:29: error: Could not resolve "node:fs" (mark it as external to exclude it from the bundle)
1 โ import { readFileSync } from 'node:fs'
โต ~~~~~~~~~
> node_modules/@astropub/codecs/dist/webp/codec.js:1:29: error: Could not resolve "node:fs" (mark it as external to exclude it from the bundle)
1 โ import { readFileSync } from 'node:fs'
โต ~~~~~~~~~
> node_modules/@astropub/codecs/dist/jpg/codec.js:1:29: error: Could not resolve "node:fs" (mark it as external to exclude it from the bundle)
1 โ import { readFileSync } from 'node:fs'
โต ~~~~~~~~~
> node_modules/@astropub/webapi/mod.js:3:18: error: Could not resolve "node:https" (mark it as external to exclude it from the bundle)
3 โ import https from 'node:https';
โต ~~~~~~~~~~~~
> node_modules/@astropub/webapi/mod.js:4:17: error: Could not resolve "node:zlib" (mark it as external to exclude it from the bundle)
4 โ import zlib from 'node:zlib';
โต ~~~~~~~~~~~
> node_modules/@astropub/webapi/mod.js:5:60: error: Could not resolve "node:stream" (mark it as external to
exclude it from the bundle)
5 โ import Stream, { PassThrough, pipeline as pipeline$1 } from 'node:stream';
โต ~~~~~~~~~~~~~
> node_modules/@astropub/webapi/mod.js:6:44: error: Could not resolve "node:util" (mark it as external to exclude it from the bundle)
6 โ import { promisify, deprecate, types } from 'node:util';
โต ~~~~~~~~~~~
> node_modules/@astropub/webapi/mod.js:7:35: error: Could not resolve "node:url" (mark it as external to exclude it from the bundle)
7 โ import { format as format$1 } from 'node:url';
โต ~~~~~~~~~~
> node_modules/@astropub/webapi/mod.js:8:21: error: Could not resolve "node:net" (mark it as external to exclude it from the bundle)
8 โ import { isIP } from 'node:net';
โต ~~~~~~~~~~
> node_modules/@astropub/webapi/mod.js:9:28: error: Could not resolve "node:perf_hooks" (mark it as external to exclude it from the bundle)
9 โ import { performance } from 'node:perf_hooks';
โต ~~~~~~~~~~~~~~~~~
> node_modules/@astropub/webapi/mod.js:7844:26: error: Could not resolve "node:fs" (mark it as external to exclude it from the bundle, or add ".catch()" to handle the failure at run-time)
7844 โ return import('node:fs').then(fs => {
โต ~~~~~~~~~
Error: Build failed with 45 errors:
node_modules/@astropub/codecs/dist/avif/codec.js:1:29: error: Could not resolve "node:fs" (mark it as external to exclude it from the bundle)
node_modules/@astropub/codecs/dist/avif/codec.js:16:19: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
node_modules/@astropub/codecs/dist/avif/codec.js:17:19: error: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
node_modules/@astropub/codecs/dist/avif/thread.js:1:24: error: Could not resolve "node:worker_threads" (mark
it as external to exclude it from the bundle)
node_modules/@astropub/codecs/dist/codecs.js:1:25: error: Could not resolve "node:process" (mark it as external to exclude it from the bundle)
...
at failureErrorWithLog (C:\SITES\bliss-astro-netlify\node_modules\esbuild\lib\main.js:1493:15)
at C:\SITES\bliss-astro-netlify\node_modules\esbuild\lib\main.js:1151:28
at runOnEndCallbacks (C:\SITES\bliss-astro-netlify\node_modules\esbuild\lib\main.js:941:63)
at buildResponseToResult (C:\SITES\bliss-astro-netlify\node_modules\esbuild\lib\main.js:1149:7)
at C:\SITES\bliss-astro-netlify\node_modules\esbuild\lib\main.js:1258:14
at C:\SITES\bliss-astro-netlify\node_modules\esbuild\lib\main.js:629:9
at handleIncomingPacket (C:\SITES\bliss-astro-netlify\node_modules\esbuild\lib\main.js:726:9)
at Socket.readFromStdout (C:\SITES\bliss-astro-netlify\node_modules\esbuild\lib\main.js:596:7)
at Socket.emit (node:events:390:28)
at addChunk (node:internal/streams/readable:315:12)
The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command npm run start" terminated with exit code: 1.