Skip to content

deno build broken #53

@srl295

Description

@srl295

The build seems broken

$ deno version
deno 2.5.6 (stable, release, x86_64-apple-darwin)
v8 14.0.365.5-rusty
typescript 5.9.2

$ deno task serve
Task serve deno task lume -s
Task lume echo "import 'lume/cli.ts'" | deno run -A - "-s"
Loading config file file:///Users/srl295/src/messageformat.dev/_config.ts
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
✘ [ERROR] Import "windows-locale" not a dependency and not in import map from "https://deno.land/x/lume@v2.3.3/plugins/esbuild.ts" [plugin lume-loader]

    deno:file:///Users/srl295/Library/Caches/deno/npm/registry.npmjs.org/locale-codes/1.3.1/index.js:1:21:
      1 │ const lcid = require('windows-locale')
        ╵                      ~~~~~~~~~~~~~~~~

✘ [ERROR] Import "iso639-codes" not a dependency and not in import map from "https://deno.land/x/lume@v2.3.3/plugins/esbuild.ts" [plugin lume-loader]

    deno:file:///Users/srl295/Library/Caches/deno/npm/registry.npmjs.org/locale-codes/1.3.1/index.js:2:20:
      2 │ const iso = require('iso639-codes')
        ╵                     ~~~~~~~~~~~~~~

✘ [ERROR] Import "langs" not a dependency and not in import map from "https://deno.land/x/lume@v2.3.3/plugins/esbuild.ts" [plugin lume-loader]

    deno:file:///Users/srl295/Library/Caches/deno/npm/registry.npmjs.org/locale-codes/1.3.1/index.js:3:22:
      3 │ const langs = require('langs').all()
        ╵                       ~~~~~~~

error: Uncaught (in worker "") (in promise) Error: Build failed with 3 errors:
deno:file:///Users/srl295/Library/Caches/deno/npm/registry.npmjs.org/locale-codes/1.3.1/index.js:1:21: ERROR: [plugin: lume-loader] Import "windows-locale" not a dependency and not in import map from "https://deno.land/x/lume@v2.3.3/plugins/esbuild.ts"
deno:file:///Users/srl295/Library/Caches/deno/npm/registry.npmjs.org/locale-codes/1.3.1/index.js:2:20: ERROR: [plugin: lume-loader] Import "iso639-codes" not a dependency and not in import map from "https://deno.land/x/lume@v2.3.3/plugins/esbuild.ts"
deno:file:///Users/srl295/Library/Caches/deno/npm/registry.npmjs.org/locale-codes/1.3.1/index.js:3:22: ERROR: [plugin: lume-loader] Import "langs" not a dependency and not in import map from "https://deno.land/x/lume@v2.3.3/plugins/esbuild.ts"
  let error = new Error(text);
              ^
    at failureErrorWithLog (https://deno.land/x/esbuild@v0.24.0/mod.js:1451:15)
    at https://deno.land/x/esbuild@v0.24.0/mod.js:920:25
    at runOnEndCallbacks (https://deno.land/x/esbuild@v0.24.0/mod.js:1291:45)
    at buildResponseToResult (https://deno.land/x/esbuild@v0.24.0/mod.js:918:7)
    at https://deno.land/x/esbuild@v0.24.0/mod.js:945:16
    at responseCallbacks.<computed> (https://deno.land/x/esbuild@v0.24.0/mod.js:597:9)
    at handleIncomingPacket (https://deno.land/x/esbuild@v0.24.0/mod.js:652:12)
    at readFromStdout (https://deno.land/x/esbuild@v0.24.0/mod.js:575:7)
    at https://deno.land/x/esbuild@v0.24.0/mod.js:1790:11
    at eventLoopTick (ext:core/01_core.js:179:7)
error: Uncaught (in promise) Error: Unhandled error in child worker.
    at Worker.#pollControl (ext:runtime/11_workers.js:204:19)
    at eventLoopTick (ext:core/01_core.js:179:7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions