Event JSON
{
"id": "5dbdadfc6831d3c5679431c779a4d6ae57539b611b171675df4f1d3a5a104a6e",
"pubkey": "dd664d5e4016433a8cd69f005ae1480804351789b59de5af06276de65633d319",
"created_at": 1725430626,
"kind": 1621,
"tags": [
[
"alt",
"git repository issue: Installation and build are buggy"
],
[
"r",
"2a6cbb5a1636735690493bcc8dcac147a174de45"
],
[
"a",
"30617:dc4cd086cd7ce5b1832adf4fdd1211289880d2c7e295bcb0e684c01acee77c06:Alexandria",
"wss://nostr.thesamecat.io",
"root"
],
[
"p",
"dc4cd086cd7ce5b1832adf4fdd1211289880d2c7e295bcb0e684c01acee77c06"
],
[
"p",
"fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1"
],
[
"p",
"70122128273bdc07af9be7725fa5c4bc0fc146866bec38d44360dc4bc6cc18b9"
]
],
"content": "Installation and build are buggy\n\nInput and output, every time I want to run Alexandria.\n\n[source,bash]\n----\n$ npm install\nnpm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.\nnpm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported\nnpm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead\nnpm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported\nnpm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported\nnpm warn deprecated glob@7.1.6: Glob versions prior to v9 are no longer supported\nnpm warn deprecated @humanwhocodes/object-schema@2.0.2: Use @eslint/object-schema instead\n\nadded 395 packages, and audited 396 packages in 10s\n\n100 packages are looking for funding\n run `npm fund` for details\n\n2 moderate severity vulnerabilities\n\nTo address all issues, run:\n npm audit fix\n\nRun `npm audit` for details.\n\n$ npm audit fix\n\nchanged 2 packages, and audited 396 packages in 2s\n\n100 packages are looking for funding\n run `npm fund` for details\n\nfound 0 vulnerabilities\n$ npm run preview\n\n\u003e alexandria@0.0.4 preview\n\u003e vite preview\n\nerror when starting preview server:\nError: Server files not found at /home/ohji/Projects/Alexandria/.svelte-kit/output/server, did you run `build` first?\n at preview (file:///home/ohji/Projects/Alexandria/node_modules/@sveltejs/kit/src/exports/vite/preview/index.js:35:9)\n at configurePreviewServer (file:///home/ohji/Projects/Alexandria/node_modules/@sveltejs/kit/src/exports/vite/index.js:694:11)\n at preview (file:///home/ohji/Projects/Alexandria/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:66305:26)\n at async CAC.\u003canonymous\u003e (file:///home/ohji/Projects/Alexandria/node_modules/vite/dist/node/cli.js:882:22)\n$ npm run build\n\n\u003e alexandria@0.0.4 build\n\u003e vite build\n\nvite v5.3.3 building SSR bundle for production...\ntransforming (33) src/routes/[id]/+page.tsBrowserslist: caniuse-lite is outdated. Please run:\n npx update-browserslist-db@latest\n Why you should do it regularly: https://github.com/browserslist/update-db#readme\n(node:7507) Warning: To load an ES module, set \"type\": \"module\" in the package.json or use the .mjs extension.\n(Use `node --trace-warnings ...` to show where the warning was created)\n(node:7507) Warning: To load an ES module, set \"type\": \"module\" in the package.json or use the .mjs extension.\n\"NDKEvent\" is imported from external module \"@nostr-dev-kit/ndk\" but never used in \"src/lib/components/Login.svelte\", \"src/lib/ndk.ts\" and \"src/routes/+page.svelte\".\n\"default\" is imported from external module \"@nostr-dev-kit/ndk-cache-dexie\" but never used in \"src/lib/ndk.ts\".\n✓ 786 modules transformed.\nrendering chunks (21)...warnings when minifying css:\n▲ [WARNING] Unexpected \"button\" [css-syntax-error]\n\n \u003cstdin\u003e:4104:30:\n 4104 │ :is(.dark .dark\\:\\!text-white)button.btn-leather {\n ╵ ~~~~~~\n\n\n▲ [WARNING] Unexpected \"button\" [css-syntax-error]\n\n \u003cstdin\u003e:4108:28:\n 4108 │ :is(.dark .dark\\:text-white)button.btn-leather {\n ╵ ~~~~~~\n\n\n▲ [WARNING] Unexpected \"button\" [css-syntax-error]\n\n \u003cstdin\u003e:4112:55:\n 4112 │ ...dark\\:focus-within\\:text-white:focus-within)button.btn-leather {\n ╵ ~~~~~~\n\n\n▲ [WARNING] Unexpected \"button\" [css-syntax-error]\n\n \u003cstdin\u003e:4116:41:\n 4116 │ :is(.dark .dark\\:hover\\:text-white:hover)button.btn-leather {\n ╵ ~~~~~~\n\n\n▲ [WARNING] Unexpected \"button\" [css-syntax-error]\n\n \u003cstdin\u003e:4120:41:\n 4120 │ :is(.dark .dark\\:focus\\:text-white:focus)button.btn-leather {\n ╵ ~~~~~~\n\n\n▲ [WARNING] Unexpected \"button\" [css-syntax-error]\n\n \u003cstdin\u003e:4157:34:\n 4157 │ :is(.dark .md\\:dark\\:text-white)button.btn-leather {\n ╵ ~~~~~~\n\n\n▲ [WARNING] Unexpected \"button\" [css-syntax-error]\n\n \u003cstdin\u003e:4161:47:\n 4161 │ :is(.dark .md\\:dark\\:hover\\:text-white:hover)button.btn-leather {\n ╵ ~~~~~~\n\n\nndk connected\nvite v5.3.3 building for production...\nnode_modules/tseep/lib/task-collection/bake-collection.js (65:26): Use of eval in \"node_modules/tseep/lib/task-collection/bake-collection.js\" is strongly discouraged as it poses security risks and may cause issues with minification.\nnode_modules/tseep/lib/task-collection/bake-collection.js (91:26): Use of eval in \"node_modules/tseep/lib/task-collection/bake-collection.js\" is strongly discouraged as it poses security risks and may cause issues with minification.\nnode_modules/tseep/lib/task-collection/bake-collection.js (115:26): Use of eval in \"node_modules/tseep/lib/task-collection/bake-collection.js\" is strongly discouraged as it poses security risks and may cause issues with minification.\n✓ 864 modules transformed.\nrendering chunks (13)...warnings when minifying css:\n▲ [WARNING] Unexpected \"button\" [css-syntax-error]\n\n \u003cstdin\u003e:4107:30:\n 4107 │ :is(.dark .dark\\:\\!text-white)button.btn-leather {\n ╵ ~~~~~~\n\n\n▲ [WARNING] Unexpected \"button\" [css-syntax-error]\n\n \u003cstdin\u003e:4112:28:\n 4112 │ :is(.dark .dark\\:text-white)button.btn-leather {\n ╵ ~~~~~~\n\n\n▲ [WARNING] Unexpected \"button\" [css-syntax-error]\n\n \u003cstdin\u003e:4117:55:\n 4117 │ ...dark\\:focus-within\\:text-white:focus-within)button.btn-leather {\n ╵ ~~~~~~\n\n\n▲ [WARNING] Unexpected \"button\" [css-syntax-error]\n\n \u003cstdin\u003e:4122:41:\n 4122 │ :is(.dark .dark\\:hover\\:text-white:hover)button.btn-leather {\n ╵ ~~~~~~\n\n\n▲ [WARNING] Unexpected \"button\" [css-syntax-error]\n\n \u003cstdin\u003e:4127:41:\n 4127 │ :is(.dark .dark\\:focus\\:text-white:focus)button.btn-leather {\n ╵ ~~~~~~\n\n\n▲ [WARNING] Unexpected \"button\" [css-syntax-error]\n\n \u003cstdin\u003e:4166:34:\n 4166 │ :is(.dark .md\\:dark\\:text-white)button.btn-leather {\n ╵ ~~~~~~\n\n\n▲ [WARNING] Unexpected \"button\" [css-syntax-error]\n\n \u003cstdin\u003e:4170:47:\n 4170 │ :is(.dark .md\\:dark\\:hover\\:text-white:hover)button.btn-leather {\n ╵ ~~~~~~\n\n\n.svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB\n.svelte-kit/output/client/.vite/manifest.json 5.48 kB │ gzip: 0.81 kB\n.svelte-kit/output/client/_app/immutable/assets/Article.BQ3fP-f3.css 0.05 kB │ gzip: 0.07 kB\n.svelte-kit/output/client/_app/immutable/assets/4.CV5oLSb-.css 0.38 kB │ gzip: 0.22 kB\n.svelte-kit/output/client/_app/immutable/assets/0.CGI1dDSI.css 142.60 kB │ gzip: 19.42 kB\n.svelte-kit/output/client/_app/immutable/entry/start.D3hk-aZo.js 0.07 kB │ gzip: 0.08 kB\n.svelte-kit/output/client/_app/immutable/chunks/stores.Ch_jZtUt.js 0.23 kB │ gzip: 0.16 kB\n.svelte-kit/output/client/_app/immutable/chunks/index.BXcdwvEr.js 0.45 kB │ gzip: 0.32 kB\n.svelte-kit/output/client/_app/immutable/nodes/1.g0TS0sxm.js 0.84 kB │ gzip: 0.52 kB\n.svelte-kit/output/client/_app/immutable/nodes/3.D_iYa-7m.js 1.15 kB │ gzip: 0.71 kB\n.svelte-kit/output/client/_app/immutable/nodes/4.Dj1759ho.js 1.45 kB │ gzip: 0.74 kB\n.svelte-kit/output/client/_app/immutable/nodes/5.ZrNqx5pa.js 1.80 kB │ gzip: 0.94 kB\n.svelte-kit/output/client/_app/immutable/chunks/index.540nXV9h.js 4.70 kB │ gzip: 2.41 kB\n.svelte-kit/output/client/_app/immutable/chunks/Tooltip.fpMnD3Hs.js 4.71 kB │ gzip: 2.08 kB\n.svelte-kit/output/client/_app/immutable/chunks/ToolbarButton.CuCCZwRm.js 5.13 kB │ gzip: 2.04 kB\n.svelte-kit/output/client/_app/immutable/entry/app.DUuP64Dw.js 6.73 kB │ gzip: 2.70 kB\n.svelte-kit/output/client/_app/immutable/chunks/scheduler.CWwLMCx8.js 9.66 kB │ gzip: 3.74 kB\n.svelte-kit/output/client/_app/immutable/chunks/entry.DutddpPN.js 26.52 kB │ gzip: 10.51 kB\n.svelte-kit/output/client/_app/immutable/nodes/0.DRW23K1H.js 36.57 kB │ gzip: 11.15 kB\n.svelte-kit/output/client/_app/immutable/nodes/2.veDSy2mv.js 75.00 kB │ gzip: 15.12 kB\n.svelte-kit/output/client/_app/immutable/chunks/Article.BSzvTxWM.js 98.30 kB │ gzip: 32.80 kB\n.svelte-kit/output/client/_app/immutable/chunks/ndk.5-n9BqOh.js 419.65 kB │ gzip: 131.01 kB\n✓ built in 23.40s\n.svelte-kit/output/server/.vite/manifest.json 4.74 kB\n.svelte-kit/output/server/_app/immutable/assets/Article.BQ3fP-f3.css 0.05 kB\n.svelte-kit/output/server/_app/immutable/assets/_page.CV5oLSb-.css 0.38 kB\n.svelte-kit/output/server/_app/immutable/assets/_layout.DbMc_P7O.css 142.52 kB\n.svelte-kit/output/server/entries/pages/_layout.server.ts.js 0.04 kB\n.svelte-kit/output/server/entries/pages/d/_tag_/_page.ts.js 0.13 kB\n.svelte-kit/output/server/chunks/names.js 0.25 kB\n.svelte-kit/output/server/chunks/client.js 0.28 kB\n.svelte-kit/output/server/internal.js 0.31 kB\n.svelte-kit/output/server/entries/pages/_id_/_page.ts.js 0.46 kB\n.svelte-kit/output/server/entries/fallbacks/error.svelte.js 0.51 kB\n.svelte-kit/output/server/entries/pages/_id_/_page.svelte.js 0.51 kB\n.svelte-kit/output/server/chunks/stores.js 0.54 kB\n.svelte-kit/output/server/chunks/ndk.js 1.11 kB\n.svelte-kit/output/server/entries/pages/d/_tag_/_page.svelte.js 1.17 kB\n.svelte-kit/output/server/chunks/utils.js 1.22 kB\n.svelte-kit/output/server/chunks/index2.js 1.33 kB\n.svelte-kit/output/server/chunks/Skeleton.js 1.41 kB\n.svelte-kit/output/server/entries/pages/about/_page.svelte.js 1.65 kB\n.svelte-kit/output/server/chunks/index.js 2.26 kB\n.svelte-kit/output/server/chunks/exports.js 5.94 kB\n.svelte-kit/output/server/chunks/internal.js 6.00 kB\n.svelte-kit/output/server/chunks/ssr.js 7.29 kB\n.svelte-kit/output/server/chunks/Article.js 13.87 kB\n.svelte-kit/output/server/chunks/Popper.js 23.10 kB\n.svelte-kit/output/server/entries/pages/_layout.svelte.js 25.07 kB\n.svelte-kit/output/server/entries/pages/_page.svelte.js 43.74 kB\n.svelte-kit/output/server/index.js 89.83 kB\n✓ built in 31.74s\n\nRun npm run preview to preview your production build locally.\n\n\u003e Using @sveltejs/adapter-auto\n Could not detect a supported production environment. See https://kit.svelte.dev/docs/adapters to learn how to configure your app to run on the platform of your choosing\n ✔ done\n\n----",
"sig": "a2a38993bb9a1c5bc6933415d40c39de8fed3e63a914dc8bf641e3e718afa7f3edf60c107fcbd5b94460e54939f4abfa8e959f37b57f773acb276884b1222e53"
}