question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

possible non wanted error [ERROR:vr] Unknown option: -1

See original GitHub issue

hello 👋

i was successfully running deno scripts through velociraptor, like so:

vr add foo 100

which maps to:

deno run --allow-env --allow-read --allow-write add.ts

add.ts is supposed to read Deno.args and do something with them.


the problem with velociraptor appeared when i ran:

vr add foo -100

which failed with [ERROR:vr] Unknown option: -1. that’s okay, it looks like an option and it’s not a valid one.

but then i tried to wrap the value in quotes:

vr add foo "-100"

and got the same error.


now, it’s not at all critical. but when i ran the whole command manually, i got it working (with or without quotes):

$ deno run --allow-env --allow-read --allow-write add.ts foo -1000

so it’s just something i wanted to point out thanks for the good work on velociraptor! 👍

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
bernardini687commented, May 28, 2020

using 1.0.0-beta.6. i will update asap and let you know if it works, thanks.

0reactions
bernardini687commented, May 29, 2020

@umbopepato yep, it’s fixed! thanks a lot 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using nodejs's spawn causes "unknown option -- " and ...
I'm trying to get spawn to effect an rm -rf node_modules followed by npm install (on windows 7; nx commands courtesy of a...
Read more >
openssl keeps giving me "unknown option" errors
I have no idea how this works and am simply following some instructions provided to me. first command works fine: openssl genrsa -des3...
Read more >
Error: Unknown option -i : r/Tdarr
I have Tdarr setup to the point that I'm starting to toss files at it, but I get this error: Unknown option -i...
Read more >
How do I get rid of "unknown option" error from tmux?
Change command from showw to show-options; Use -w switch for window option; use -q switch for quiet option to suppress errors from unset...
Read more >
Why do I get these .vimrc errors in Ubuntu 14 after upgrade ...
Sorry, the command is not available in this version; Option not supported; Unknown option. Details: $ vi .vimrc Error detected while processing ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found