mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 16:01:54 +00:00
Added a settings modal to the dashboard (index.html) to allow configuration of hashtag, namespace, and relays via URL query parameters and localStorage. This enables the dashboard to be hosted as a static site and used by any project. Also added `docs/architecture/distribution-plan.md` outlining the strategy for NPM, Binary, and Hosted Dashboard distribution. Co-authored-by: PR0M3TH3AN <[email protected]>
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
|
|
> [email protected] dashboard:serve
|
|
> node bin/torch-lock.mjs dashboard
|
|
|
|
node:internal/modules/package_json_reader:314
|
|
throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
|
|
^
|
|
|
|
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'nostr-tools' imported from /app/src/lib.mjs
|
|
at Object.getPackageJSONURL (node:internal/modules/package_json_reader:314:9)
|
|
at packageResolve (node:internal/modules/esm/resolve:767:81)
|
|
at moduleResolve (node:internal/modules/esm/resolve:853:18)
|
|
at defaultResolve (node:internal/modules/esm/resolve:983:11)
|
|
at #cachedDefaultResolve (node:internal/modules/esm/loader:731:20)
|
|
at ModuleLoader.resolve (node:internal/modules/esm/loader:708:38)
|
|
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:310:38)
|
|
at ModuleJob._link (node:internal/modules/esm/module_job:182:49) {
|
|
code: 'ERR_MODULE_NOT_FOUND'
|
|
}
|
|
|
|
Node.js v22.22.0
|
|
npm notice
|
|
npm notice New minor version of npm available! 11.7.0 -> 11.10.0
|
|
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.10.0
|
|
npm notice To update run: npm install -g [email protected]
|
|
npm notice
|