npm run build
> firestorm@0.0.1 build
> vite build
vite v4.3.3 building SSR bundle for production...
transforming (94) node_modules/svelte-material-icons/Check.svelte5:50:05 PM [vite-plugin-svelte] /src/routes/(app)/room/[room]/MessageReply.svelte:28:8 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
26: <div class="flex justify-between">
27: <!-- svelte-ignore a11y-mouse-events-have-key-events -->
28: <blockquote
^
29: class="text-sm flex gap-2 ml-2 cursor-pointer brightness-80 hover:brightness-100"
30: on:click={navToOriginal}
✓ 334 modules transformed.
vite v4.3.3 building for production...
transforming (82) src/routes/+layout.svelte5:50:08 PM [vite-plugin-svelte] /src/routes/(app)/room/[room]/MessageReply.svelte:28:8 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
26: <div class="flex justify-between">
27: <!-- svelte-ignore a11y-mouse-events-have-key-events -->
28: <blockquote
^
29: class="text-sm flex gap-2 ml-2 cursor-pointer brightness-80 hover:brightness-100"
30: on:click={navToOriginal}
✓ 898 modules transformed.
.svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB
.svelte-kit/output/client/vite-manifest.json 19.59 kB │ gzip: 2.22 kB
.svelte-kit/output/client/_app/immutable/assets/moe_bg.e750de53.wasm 445.28 kB
.svelte-kit/output/client/_app/immutable/assets/Indicator.1d121e74.css 0.03 kB │ gzip: 0.05 kB
.svelte-kit/output/client/_app/immutable/assets/SidebarItem.a4ff500e.css 0.06 kB │ gzip: 0.08 kB
.svelte-kit/output/client/_app/immutable/assets/_page.13521365.css 0.08 kB │ gzip: 0.08 kB
.svelte-kit/output/client/_app/immutable/assets/_page.0a15a45c.css 0.97 kB │ gzip: 0.40 kB
.svelte-kit/output/client/_app/immutable/assets/_layout.37b1ff79.css 113.09 kB │ gzip: 15.59 kB
.svelte-kit/output/client/_app/immutable/chunks/1.7cad00f1.js 0.08 kB │ gzip: 0.10 kB
.svelte-kit/output/client/_app/immutable/chunks/5.df67dd5c.js 0.09 kB │ gzip: 0.10 kB
.svelte-kit/output/client/_app/immutable/chunks/7.28f92dfc.js 0.10 kB │ gzip: 0.11 kB
.svelte-kit/output/client/_app/immutable/chunks/9.796d46c4.js 0.10 kB │ gzip: 0.11 kB
.svelte-kit/output/client/_app/immutable/chunks/3.2a25803b.js 0.10 kB │ gzip: 0.11 kB
.svelte-kit/output/client/_app/immutable/chunks/8.c7302690.js 0.11 kB │ gzip: 0.11 kB
.svelte-kit/output/client/_app/immutable/chunks/11.a2ed46af.js 0.11 kB │ gzip: 0.12 kB
.svelte-kit/output/client/_app/immutable/chunks/12.12b99eed.js 0.11 kB │ gzip: 0.12 kB
.svelte-kit/output/client/_app/immutable/chunks/10.94582e33.js 0.12 kB │ gzip: 0.12 kB
.svelte-kit/output/client/_app/immutable/chunks/14.55f821f5.js 0.13 kB │ gzip: 0.13 kB
.svelte-kit/output/client/_app/immutable/chunks/0.1076cc03.js 0.14 kB │ gzip: 0.13 kB
.svelte-kit/output/client/_app/immutable/entry/(app)-page.svelte.422929c5.js 0.15 kB │ gzip: 0.14 kB
.svelte-kit/output/client/_app/immutable/entry/(profiles)-profile-page.svelte.422929c5.js 0.15 kB │ gzip: 0.14 kB
.svelte-kit/output/client/_app/immutable/chunks/index.b1f5b21f.js 0.16 kB │ gzip: 0.14 kB
.svelte-kit/output/client/_app/immutable/chunks/13.105699b6.js 0.22 kB │ gzip: 0.19 kB
.svelte-kit/output/client/_app/immutable/chunks/navigation.f1ca652a.js 0.23 kB │ gzip: 0.17 kB
.svelte-kit/output/client/_app/immutable/chunks/_commonjsHelpers.725317a4.js 0.24 kB │ gzip: 0.18 kB
.svelte-kit/output/client/_app/immutable/chunks/stores.b4b50bd5.js 0.24 kB │ gzip: 0.17 kB
.svelte-kit/output/client/_app/immutable/chunks/control.e7f5239e.js 0.26 kB │ gzip: 0.18 kB
.svelte-kit/output/client/_app/immutable/chunks/4.ab07ba49.js 0.27 kB │ gzip: 0.22 kB
.svelte-kit/output/client/_app/immutable/entry/(roomsettings)-room-_room_-settings-layout.ts.30cf7e22.js 0.28 kB │ gzip: 0.20 kB
.svelte-kit/output/client/_app/immutable/chunks/2.36b478a0.js 0.28 kB │ gzip: 0.21 kB
.svelte-kit/output/client/_app/immutable/chunks/6.854b2115.js 0.29 kB │ gzip: 0.22 kB
.svelte-kit/output/client/_app/immutable/chunks/supabase.da3659a9.js 0.31 kB │ gzip: 0.23 kB
.svelte-kit/output/client/_app/immutable/entry/(app)-layout.ts.d7e8a77c.js 0.33 kB │ gzip: 0.22 kB
.svelte-kit/output/client/_app/immutable/entry/_layout.ts.d29dfa58.js 0.34 kB │ gzip: 0.19 kB
.svelte-kit/output/client/_app/immutable/chunks/utils.143f92c2.js 0.37 kB │ gzip: 0.27 kB
.svelte-kit/output/client/_app/immutable/entry/(roomsettings)-room-_room_-settings-overview-page.svelte.1fb087db.js 0.40 kB │ gzip: 0.29 kB
.svelte-kit/output/client/_app/immutable/entry/(app)-room-_room_-page.ts.33043916.js 0.42 kB │ gzip: 0.24 kB
.svelte-kit/output/client/_app/immutable/chunks/index.dde60193.js 0.45 kB │ gzip: 0.31 kB
.svelte-kit/output/client/_app/immutable/chunks/_layout.ec1029ac.js 0.47 kB │ gzip: 0.34 kB
.svelte-kit/output/client/_app/immutable/chunks/_layout.7511f500.js 0.68 kB │ gzip: 0.46 kB
.svelte-kit/output/client/_app/immutable/chunks/_page.7ea8c756.js 0.70 kB │ gzip: 0.43 kB
.svelte-kit/output/client/_app/immutable/entry/error.svelte.cdf17ea9.js 0.75 kB │ gzip: 0.47 kB
.svelte-kit/output/client/_app/immutable/chunks/preload-helper.41c905a7.js 0.76 kB │ gzip: 0.48 kB
.svelte-kit/output/client/_app/immutable/chunks/Indicator.svelte_svelte_type_style_lang.880982d3.js 0.77 kB │ gzip: 0.50 kB
.svelte-kit/output/client/_app/immutable/entry/_layout.svelte.4e7eadeb.js 0.93 kB │ gzip: 0.57 kB
.svelte-kit/output/client/_app/immutable/chunks/users.7a27f820.js 1.04 kB │ gzip: 0.51 kB
.svelte-kit/output/client/_app/immutable/chunks/notifications.b4e6295d.js 1.12 kB │ gzip: 0.78 kB
.svelte-kit/output/client/_app/immutable/entry/(profiles)-profile-notifications-page.svelte.eecc5251.js 1.13 kB │ gzip: 0.65 kB
.svelte-kit/output/client/_app/immutable/chunks/authors.ffe0428c.js 1.26 kB │ gzip: 0.68 kB
.svelte-kit/output/client/_app/immutable/chunks/Helper.67a3d05a.js 1.42 kB │ gzip: 0.81 kB
.svelte-kit/output/client/_app/immutable/chunks/Wrapper.c8a73af1.js 2.09 kB │ gzip: 1.08 kB
.svelte-kit/output/client/_app/immutable/entry/(profiles)-profile-security-page.svelte.113c12e8.js 2.37 kB │ gzip: 1.20 kB
.svelte-kit/output/client/_app/immutable/chunks/singletons.1aa4cae1.js 2.37 kB │ gzip: 1.21 kB
.svelte-kit/output/client/_app/immutable/entry/(auth)-auth-onboarding-page.svelte.6930af09.js 3.19 kB │ gzip: 1.57 kB
.svelte-kit/output/client/_app/immutable/entry/(profiles)-profile-settings-page.svelte.268fa39b.js 4.83 kB │ gzip: 2.18 kB
.svelte-kit/output/client/_app/immutable/entry/(roomsettings)-room-_room_-settings-layout.svelte.3a634240.js 6.06 kB │ gzip: 2.61 kB
.svelte-kit/output/client/_app/immutable/chunks/ProfileUpdate.58b5bc92.js 6.07 kB │ gzip: 2.67 kB
.svelte-kit/output/client/_app/immutable/chunks/CloseButton.686f9f25.js 6.36 kB │ gzip: 2.60 kB
.svelte-kit/output/client/_app/immutable/entry/(roomsettings)-room-_room_-settings-members-page.svelte.a33b6542.js 7.49 kB │ gzip: 3.18 kB
.svelte-kit/output/client/_app/immutable/entry/(profiles)-profile-layout.svelte.b5504bce.js 9.74 kB │ gzip: 2.36 kB
.svelte-kit/output/client/_app/immutable/chunks/Button.32453ecf.js 10.43 kB │ gzip: 3.10 kB
.svelte-kit/output/client/_app/immutable/chunks/messages.4d0ea70d.js 11.06 kB │ gzip: 4.62 kB
.svelte-kit/output/client/_app/immutable/entry/app.d032dc49.js 13.74 kB │ gzip: 3.20 kB
.svelte-kit/output/client/_app/immutable/chunks/Input.595b9674.js 13.87 kB │ gzip: 4.98 kB
.svelte-kit/output/client/_app/immutable/chunks/index.216f1b12.js 14.01 kB │ gzip: 5.79 kB
.svelte-kit/output/client/_app/immutable/chunks/SidebarItem.847fb4b0.js 15.71 kB │ gzip: 6.18 kB
.svelte-kit/output/client/_app/immutable/chunks/Modal.4eec2515.js 17.37 kB │ gzip: 6.08 kB
.svelte-kit/output/client/_app/immutable/chunks/rooms.b18ddc70.js 21.40 kB │ gzip: 6.55 kB
.svelte-kit/output/client/_app/immutable/entry/start.154f16b1.js 22.05 kB │ gzip: 8.90 kB
.svelte-kit/output/client/_app/immutable/entry/(app)-layout.svelte.e00f4722.js 46.58 kB │ gzip: 16.15 kB
.svelte-kit/output/client/_app/immutable/entry/(app)-room-_room_-page.svelte.c6df94df.js 49.63 kB │ gzip: 13.42 kB
.svelte-kit/output/client/_app/immutable/chunks/_layout.cc007e00.js 100.26 kB │ gzip: 27.27 kB
.svelte-kit/output/client/_app/immutable/entry/(auth)-auth-page.svelte.2923507b.js 129.50 kB │ gzip: 36.97 kB
✓ built in 4.90s
vite v4.3.3 building for production...
✓ 1 modules transformed.
.svelte-kit/output/client/service-worker.js 0.60 kB │ gzip: 0.37 kB
✓ built in 15ms
.svelte-kit/output/server/vite-manifest.json 10.65 kB
.svelte-kit/output/server/_app/immutable/assets/Indicator.1d121e74.css 0.03 kB
.svelte-kit/output/server/_app/immutable/assets/SidebarItem.a4ff500e.css 0.06 kB
.svelte-kit/output/server/_app/immutable/assets/_page.13521365.css 0.08 kB
.svelte-kit/output/server/_app/immutable/assets/_page.0a15a45c.css 0.97 kB
.svelte-kit/output/server/_app/immutable/assets/_layout.4e343f2a.css 113.06 kB
.svelte-kit/output/server/chunks/supabase.js 0.11 kB
.svelte-kit/output/server/entries/pages/_layout.server.ts.js 0.12 kB
.svelte-kit/output/server/internal.js 0.15 kB
.svelte-kit/output/server/entries/endpoints/api/ping/_server.ts.js 0.25 kB
.svelte-kit/output/server/entries/pages/(app)/_page.svelte.js 0.26 kB
.svelte-kit/output/server/chunks/utils.js 0.27 kB
.svelte-kit/output/server/entries/pages/(profiles)/profile/_page.svelte.js 0.28 kB
.svelte-kit/output/server/entries/pages/(roomsettings)/room/_room_/settings/overview/_page.svelte.js 0.34 kB
.svelte-kit/output/server/entries/endpoints/api/protected-route/_server.ts.js 0.35 kB
.svelte-kit/output/server/chunks/private.js 0.49 kB
.svelte-kit/output/server/chunks/users.js 0.50 kB
.svelte-kit/output/server/chunks/stores.js 0.54 kB
.svelte-kit/output/server/entries/fallbacks/error.svelte.js 0.56 kB
.svelte-kit/output/server/entries/pages/(roomsettings)/room/_room_/settings/_layout.ts.js 0.64 kB
.svelte-kit/output/server/entries/pages/_layout.svelte.js 0.65 kB
.svelte-kit/output/server/entries/pages/(profiles)/profile/notifications/_page.svelte.js 0.72 kB
.svelte-kit/output/server/chunks/public.js 0.77 kB
.svelte-kit/output/server/entries/pages/(profiles)/profile/security/_page.svelte.js 0.87 kB
.svelte-kit/output/server/entries/pages/(app)/room/_room_/_page.ts.js 1.02 kB
.svelte-kit/output/server/chunks/Wrapper.js 1.06 kB
.svelte-kit/output/server/entries/pages/(app)/_layout.ts.js 1.10 kB
.svelte-kit/output/server/chunks/Helper.js 1.23 kB
.svelte-kit/output/server/entries/pages/(auth)/auth/onboarding/_page.svelte.js 1.46 kB
.svelte-kit/output/server/chunks/rooms.js 1.59 kB
.svelte-kit/output/server/entries/pages/_layout.ts.js 1.86 kB
.svelte-kit/output/server/chunks/index2.js 1.95 kB
.svelte-kit/output/server/entries/endpoints/api/web-push/_server.ts.js 2.32 kB
.svelte-kit/output/server/chunks/index.js 2.75 kB
.svelte-kit/output/server/chunks/messages.js 3.00 kB
.svelte-kit/output/server/entries/pages/(profiles)/profile/settings/_page.svelte.js 4.28 kB
.svelte-kit/output/server/chunks/CloseButton.js 4.56 kB
.svelte-kit/output/server/chunks/ProfileUpdate.js 4.73 kB
.svelte-kit/output/server/chunks/hooks.server.js 4.75 kB
.svelte-kit/output/server/entries/pages/(roomsettings)/room/_room_/settings/_layout.svelte.js 5.06 kB
.svelte-kit/output/server/entries/pages/(roomsettings)/room/_room_/settings/members/_page.svelte.js 5.17 kB
.svelte-kit/output/server/chunks/internal.js 6.73 kB
.svelte-kit/output/server/entries/pages/(profiles)/profile/_layout.svelte.js 8.77 kB
.svelte-kit/output/server/chunks/Button.js 10.39 kB
.svelte-kit/output/server/chunks/Input.js 10.89 kB
.svelte-kit/output/server/chunks/Modal.js 11.29 kB
.svelte-kit/output/server/chunks/index3.js 11.69 kB
.svelte-kit/output/server/chunks/SidebarItem.js 15.71 kB
.svelte-kit/output/server/entries/pages/(app)/_layout.svelte.js 17.29 kB
.svelte-kit/output/server/entries/pages/(app)/room/_room_/_page.svelte.js 34.19 kB
.svelte-kit/output/server/entries/pages/(auth)/auth/_page.svelte.js 59.83 kB
.svelte-kit/output/server/index.js 102.55 kB
.svelte-kit/output/server/chunks/moe.js 626.98 kB
Run npm run preview to preview your production build locally.
> Using @sveltejs/adapter-cloudflare-workers
✘ [ERROR] Could not resolve "util"
node_modules/web-push/src/web-push-error.js:14:8:
14 │ require('util').inherits(WebPushError, Error);
╵ ~~~~~~
The package "util" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "crypto"
node_modules/web-push/src/vapid-helper.js:3:23:
3 │ const crypto = require('crypto');
╵ ~~~~~~~~
The package "crypto" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "crypto"
node_modules/web-push/src/encryption-helper.js:3:23:
3 │ const crypto = require('crypto');
╵ ~~~~~~~~
The package "crypto" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "url"
node_modules/web-push/src/web-push-lib.js:3:20:
3 │ const url = require('url');
╵ ~~~~~
The package "url" wasn't found on the file system but is built into node. Are you trying to bundle
for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "url"
node_modules/web-push/src/vapid-helper.js:6:24:
6 │ const { URL } = require('url');
╵ ~~~~~
The package "url" wasn't found on the file system but is built into node. Are you trying to bundle
for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "https"
node_modules/web-push/src/web-push-lib.js:4:22:
4 │ const https = require('https');
╵ ~~~~~~~
The package "https" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "crypto"
node_modules/http_ece/ece.js:20:21:
20 │ var crypto = require('crypto');
╵ ~~~~~~~~
The package "crypto" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "stream"
node_modules/jws/lib/verify-stream.js:5:21:
5 │ var Stream = require('stream');
╵ ~~~~~~~~
The package "stream" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "node:crypto"
node_modules/ulidx/dist/esm/index.js:1:19:
1 │ import crypto from 'node:crypto';
╵ ~~~~~~~~~~~~~
The package "node:crypto" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "stream"
node_modules/jws/lib/sign-stream.js:5:21:
5 │ var Stream = require('stream');
╵ ~~~~~~~~
The package "stream" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "util"
node_modules/jws/lib/sign-stream.js:7:19:
7 │ var util = require('util');
╵ ~~~~~~
The package "util" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "crypto"
node_modules/jwa/index.js:3:21:
3 │ var crypto = require('crypto');
╵ ~~~~~~~~
The package "crypto" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "os"
node_modules/postgres/src/index.js:1:15:
1 │ import os from 'os'
╵ ~~~~
The package "os" wasn't found on the file system but is built into node. Are you trying to bundle
for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "util"
node_modules/jws/lib/verify-stream.js:7:19:
7 │ var util = require('util');
╵ ~~~~~~
The package "util" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "util"
node_modules/jwa/index.js:5:19:
5 │ var util = require('util');
╵ ~~~~~~
The package "util" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "stream"
node_modules/jws/lib/data-stream.js:3:21:
3 │ var Stream = require('stream');
╵ ~~~~~~~~
The package "stream" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "util"
node_modules/jws/lib/data-stream.js:4:19:
4 │ var util = require('util');
╵ ~~~~~~
The package "util" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "fs"
node_modules/postgres/src/index.js:2:15:
2 │ import fs from 'fs'
╵ ~~~~
The package "fs" wasn't found on the file system but is built into node. Are you trying to bundle
for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "stream"
node_modules/postgres/src/large.js:1:19:
1 │ import Stream from 'stream'
╵ ~~~~~~~~
The package "stream" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "net"
node_modules/https-proxy-agent/dist/index.js:30:33:
30 │ const net = __importStar(require("net"));
╵ ~~~~~
The package "net" wasn't found on the file system but is built into node. Are you trying to bundle
for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "tls"
node_modules/https-proxy-agent/dist/index.js:31:33:
31 │ const tls = __importStar(require("tls"));
╵ ~~~~~
The package "tls" wasn't found on the file system but is built into node. Are you trying to bundle
for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "assert"
node_modules/https-proxy-agent/dist/index.js:32:41:
32 │ const assert_1 = __importDefault(require("assert"));
╵ ~~~~~~~~
The package "assert" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "net"
node_modules/postgres/src/connection.js:1:16:
1 │ import net from 'net'
╵ ~~~~~
The package "net" wasn't found on the file system but is built into node. Are you trying to bundle
for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "http"
node_modules/agent-base/dist/index.js:30:34:
30 │ const http = __importStar(require("http"));
╵ ~~~~~~
The package "http" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "tls"
node_modules/postgres/src/connection.js:2:16:
2 │ import tls from 'tls'
╵ ~~~~~
The package "tls" wasn't found on the file system but is built into node. Are you trying to bundle
for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "crypto"
node_modules/postgres/src/connection.js:3:19:
3 │ import crypto from 'crypto'
╵ ~~~~~~~~
The package "crypto" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "stream"
node_modules/postgres/src/connection.js:4:19:
4 │ import Stream from 'stream'
╵ ~~~~~~~~
The package "stream" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "http"
node_modules/agent-base/dist/helpers.js:27:34:
27 │ const http = __importStar(require("http"));
╵ ~~~~~~
The package "http" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "https"
node_modules/agent-base/dist/helpers.js:28:35:
28 │ const https = __importStar(require("https"));
╵ ~~~~~~~
The package "https" wasn't found on the file system but is built into node. Are you trying to
bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
error during build:
Error: Build failed with 29 errors:
node_modules/agent-base/dist/helpers.js:27:34: ERROR: Could not resolve "http"
node_modules/agent-base/dist/helpers.js:28:35: ERROR: Could not resolve "https"
node_modules/agent-base/dist/index.js:30:34: ERROR: Could not resolve "http"
node_modules/http_ece/ece.js:20:21: ERROR: Could not resolve "crypto"
node_modules/https-proxy-agent/dist/index.js:30:33: ERROR: Could not resolve "net"
...
at failureErrorWithLog (/home/hamza/code/firestorm/node_modules/esbuild/lib/main.js:1636:15)
at /home/hamza/code/firestorm/node_modules/esbuild/lib/main.js:1048:25
at /home/hamza/code/firestorm/node_modules/esbuild/lib/main.js:993:52
at buildResponseToResult (/home/hamza/code/firestorm/node_modules/esbuild/lib/main.js:1046:7)
at /home/hamza/code/firestorm/node_modules/esbuild/lib/main.js:1075:16
at responseCallbacks.<computed> (/home/hamza/code/firestorm/node_modules/esbuild/lib/main.js:697:9)
at handleIncomingPacket (/home/hamza/code/firestorm/node_modules/esbuild/lib/main.js:752:9)
at Socket.readFromStdout (/home/hamza/code/firestorm/node_modules/esbuild/lib/main.js:673:7)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:315:12)