ultra icon indicating copy to clipboard operation
ultra copied to clipboard

Build output not compatible with --no-remote

Open deckchairlabs opened this issue 2 years ago • 1 comments

Not sure if this issue is already being worked on.

The build output from build task in the workspace doesn't run with the --no-remote flag. Looks like deps.js still references remote files.

error: A remote specifier was requested: "https://deno.land/[email protected]/http/server.ts", but --no-remote is specified.
    at file:///workspaces/ultra/workspace/.ultra/deps.js:5:23

deckchairlabs avatar Apr 22 '22 06:04 deckchairlabs

I think this is expected. Our Ultra vendoring only vendors for front end.

We can get --no-remote working by running...

deno task build 
cd .ultra
deno vendor ULTRA.js
deno run -A --import-map vendor/import_map.json --no-remote ULTRA.js

I think this is just a documentation thing?

mashaal avatar Apr 22 '22 10:04 mashaal