Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZkDocGenerator Cannot Handle Spaces in Path #6

Open
un-focused opened this issue Jul 24, 2023 · 0 comments
Open

ZkDocGenerator Cannot Handle Spaces in Path #6

un-focused opened this issue Jul 24, 2023 · 0 comments

Comments

@un-focused
Copy link

Here is the output:

yarn run v1.22.15
$ cd zkdocs-backend && yarn hardhat build-deploy-schema --schema ./test/test_schemas/tax_bracket.json --network localhost && cd .. && ./cp_script.sh tax_bracket ./zkdocs-backend/test/test_schemas/tax_bracket.json
$ '/Users/unfocused/Documents/Git Folders/Projects/zkdocs/node_modules/.bin/hardhat' build-deploy-schema --schema ./test/test_schemas/tax_bracket.json --network localhost
CACHE_DIR: /Users/unfocused/Documents/Git Folders/Projects/zkdocs/zkdocs-backend/circuit_cache
An unexpected error occurred:

Error: Command failed: circom /Users/unfocused/Documents/Git Folders/Projects/zkdocs/zkdocs-backend/circuit_cache/circuit.circom --sym --wasm --r1cs -o /Users/unfocused/Documents/Git Folders/Projects/zkdocs/zkdocs-backend/circuit_cache
error: Found argument 'Folders/Projects/zkdocs/zkdocs-backend/circuit_cache/circuit.circom' which wasn't expected, or isn't valid in this context

USAGE:
    circom [FLAGS] [OPTIONS] [--] [input]

For more information try --help

    at ChildProcess.exithandler (node:child_process:387:12)
    at ChildProcess.emit (node:events:527:28)
    at ChildProcess.emit (node:domain:475:12)
    at maybeClose (node:internal/child_process:1090:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:527:28)
    at Socket.emit (node:domain:475:12)
    at Pipe.<anonymous> (node:net:715:12) {
  code: 1,
  killed: false,
  signal: null,
  cmd: 'circom /Users/unfocused/Documents/Git Folders/Projects/zkdocs/zkdocs-backend/circuit_cache/circuit.circom --sym --wasm --r1cs -o /Users/unfocused/Documents/Git Folders/Projects/zkdocs/zkdocs-backend/circuit_cache',
  stdout: '',
  stderr: "error: Found argument 'Folders/Projects/zkdocs/zkdocs-backend/circuit_cache/circuit.circom' which wasn't expected, or isn't valid in this context\n" +
    '\n' +
    'USAGE:\n' +
    '    circom [FLAGS] [OPTIONS] [--] [input]\n' +
    '\n' +
    'For more information try --help\n'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant