aiken-lang / aiken

A modern smart contract platform for Cardano
https://aiken-lang.org
Apache License 2.0
396 stars 82 forks source link

Update Fresh in the gift_card example #914

Closed coddeys closed 2 months ago

coddeys commented 3 months ago

deno task start in the gift_card project directory raise an error

Updating Fresh solves the problem

Task start deno run -A --watch=static/,routes/ dev.ts
Watcher Process started.
The manifest has been generated for 1 routes and 1 islands.
Listening on http://localhost:8000/
✘ [ERROR] [plugin deno] Module not downloaded yet.

An error occurred during route handling or page rendering. Error: Build failed with 1 error:
error: Module not downloaded yet.
    at failureErrorWithLog (https://deno.land/x/esbuild@v0.14.51/mod.js:1601:15)
    at https://deno.land/x/esbuild@v0.14.51/mod.js:1243:28
    at runOnEndCallbacks (https://deno.land/x/esbuild@v0.14.51/mod.js:1023:63)
    at buildResponseToResult (https://deno.land/x/esbuild@v0.14.51/mod.js:1241:7)
    at https://deno.land/x/esbuild@v0.14.51/mod.js:1354:14
    at https://deno.land/x/esbuild@v0.14.51/mod.js:655:9
    at handleIncomingPacket (https://deno.land/x/esbuild@v0.14.51/mod.js:752:9)
    at readFromStdout (https://deno.land/x/esbuild@v0.14.51/mod.js:621:7)
    at https://deno.land/x/esbuild@v0.14.51/mod.js:1880:11
    at eventLoopTick (ext:core/01_core.js:169:7) {
  errors: [
    {
      detail: Error: Module not downloaded yet.
    at loadFromCLI (https://deno.land/x/esbuild_deno_loader@0.5.2/src/native_loader.ts:56:28)
    at eventLoopTick (ext:core/01_core.js:169:7)
    at async load (https://deno.land/x/esbuild_deno_loader@0.5.2/src/native_loader.ts:18:14)
    at async callback (https://deno.land/x/esbuild@v0.14.51/mod.js:970:28)
    at async handleRequest (https://deno.land/x/esbuild@v0.14.51/mod.js:698:30),
      id: "",
      location: null,
      notes: [],
      pluginName: "deno",
      text: "Module not downloaded yet."
    }
  ],
  warnings: []
}
An error occurred during route handling or page rendering. Error: Build failed with 1 error: