arc icon indicating copy to clipboard operation
arc copied to clipboard

arc should not pickup the files outside of the project

Open alshari86 opened this issue 1 year ago • 0 comments

I have a nodeJS application failed to launch because of an error happened when parse the flags in "arc-flag-parser/index.js" /node_modules/arc-flag-parser/index.js:595 throw peg$buildStructuredError( ^ peg$SyntaxError: Expected "+", ",", [a-z_\-A-Z0-9], or end of input but " " found.

During debugging, it shows the "input" as one file name rather than "desktop", or "mobile" when launch the app.

  • The file is outside of this project and it has "square brackets" in the name such as [shari] and it will have input as "shari"
  • If remove the square brackets from the file name, then it will have input as "desktop" or "mobile" and app launch successfully.

In a word, it should not pickup any file outside of the project in this case.

alshari86 avatar Jan 14 '25 23:01 alshari86