yastaraus
yastaraus
DDeno
Created by yastaraus on 8/24/2023 in #help
Building from `src` offline?
Hey guys! I'm new to Deno (and web dev as well to be honest), so could you help me here please. I'm making a site with the Lume (SSG for Deno), and there is the step when I need to build a site from src. It is all good when I'm connected to the internet, but when I'm turning if off — building process crushes:
deno task serve
Task serve deno task lume -s
Task lume echo "import 'lume/cli.ts'" | deno run --unstable -A - "-s"
Loading config file file:///Users/pavelzinoviev/Local-Documents/webdev/website/_config.js

TypeError: error sending request for url (https://wilsonl.in/minify-html/deno/0.10.3/index_bg.wasm): error trying to connect: dns error: failed to lookup address information: nodename nor servname provided, or not known
at async mainFetch (ext:deno_fetch/26_fetch.js:277:12)
at async fetch (ext:deno_fetch/26_fetch.js:501:7)
at async init (https://wilsonl.in/minify-html/deno/0.10.3/index.js:206:45)
at async (https://deno.land/x/lume@v1.18.4/plugins/minify_html.ts:34:1)
deno task serve
Task serve deno task lume -s
Task lume echo "import 'lume/cli.ts'" | deno run --unstable -A - "-s"
Loading config file file:///Users/pavelzinoviev/Local-Documents/webdev/website/_config.js

TypeError: error sending request for url (https://wilsonl.in/minify-html/deno/0.10.3/index_bg.wasm): error trying to connect: dns error: failed to lookup address information: nodename nor servname provided, or not known
at async mainFetch (ext:deno_fetch/26_fetch.js:277:12)
at async fetch (ext:deno_fetch/26_fetch.js:501:7)
at async init (https://wilsonl.in/minify-html/deno/0.10.3/index.js:206:45)
at async (https://deno.land/x/lume@v1.18.4/plugins/minify_html.ts:34:1)
Is that how it supposed to be? I tried to cache every module I've imported by running deno cache --reload _config.js, but it did not help. Any advice?
3 replies