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.

Command line arguments through external process | -t and -d

See original GitHub issue

When I run this:

node C:\Users\kataras\AppData\Roaming\npm\alm --host 127.0.0.1 -t 4242 --user username --pass password  -d ./

The alm-tools running at 127.0.0.1:4444 not at 127.0.0.1:4242 (4242 is not used by other app)

And here comes the weird

node C:\Users\kataras\AppData\Roaming\npm\alm --host 127.0.0.1 -t 4242 --user username --pass password -d C:\Users\kataras\Desktop\editor_example\scripts

// change -d to: C:\Users\kataras\Desktop\editor_example\scripts ( it’s the same as ./) ( I tried with

  1. -d C:\Users\kataras\Desktop\editor_example\scripts\
  2. -d “C:\Users\kataras\Desktop\editor_example\scripts”
  3. -d C:/Users/kataras/Desktop/editor_example/scripts also

)

now didn’t run at all 😕

Error trace:

C:\Users\kataras\AppData\Roaming\npm\alm:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
          ^^^^^^^

SyntaxError: missing ) after argument list
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:387:25)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Function.Module.runMain (module.js:447:10)
    at startup (node.js:142:18)
    at node.js:939:3

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:37 (17 by maintainers)

github_iconTop GitHub Comments

2reactions
ghostcommented, Apr 20, 2016

these are the files I had to edit in order to work , you can see them https://github.com/iris-contrib/alm-files (contains the --auth)

0reactions
basaratcommented, Apr 22, 2016

No worries. Thanks for your patience and persistence 🌹❤️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Passing Command-line arguments from C# to a external exe
1 Answer 1 · read the file D:\tmp\SrcPgm\image000.pbm · write to StandardInput of your process · read from StandardOutput of your process ·...
Read more >
Command-Line Arguments in Java - Baeldung
Explore how to configure your Java applications using command-line arguments.
Read more >
Python Command Line Arguments
Python command line arguments are the key to converting your programs into useful and enticing tools that are ready to be used in...
Read more >
Windows Terminal command line arguments | Microsoft Learn
Learn how to create command line arguments for Windows Terminal.
Read more >
javac - Java programming language compiler
To shorten or simplify the javac command line, you can specify one or more files that themselves contain arguments to the javac command...
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