D
Deno

help

Specifying config remotely or jsx on install

IioB3/15/2023
I'm struggling quite a lot here. I originally recommended using this command:
deno install -Afr --config https://deno.land/x/pyro/deno.jsonc -n pyro https://deno.land/x/pyro/cli.ts
deno install -Afr --config https://deno.land/x/pyro/deno.jsonc -n pyro https://deno.land/x/pyro/cli.ts
but it turns out deno doesn't support loading a remote config? That seems strange to me but sure. To work around this, I'm trying to do:
deno install -Afr --importmap https://deno.land/x/pyro/import_map.json --jsx=react-jsx -n pyro https://deno.land/x/pyro/cli.ts
deno install -Afr --importmap https://deno.land/x/pyro/import_map.json --jsx=react-jsx -n pyro https://deno.land/x/pyro/cli.ts
but it gives the following error:
error: Found argument '--jsx' which wasn't expected, or isn't valid in this context
error: Found argument '--jsx' which wasn't expected, or isn't valid in this context
I know that philosophically, Deno in the past claimed that you could always pass in command line flags instead of a config file. Any ideas on what to do here?
UUUnknown User3/15/2023
2 Messages Not Public
Sign In & Join Server To View

Looking for more? Join the community!