Open
Description
Aim
Trying to execute commands Compile | Info | Profile:
Expected Behavior
The commands will be executed
Bug
My project path has spaces in the folder name:
/home/user/myRepos/Test repo/aztec.js-test/aztec-app
When i try to run Compile or Info, i get an error in the console:
Executing task: /home/user/.aztec/bin/aztec-nargo compile --program-dir /home/user/myRepos/Test repo/aztec.js-test/aztec-app/src/contracts --package boxreact
error: unexpected argument 'repo/aztec.js-test/aztec-app/src/contracts' found
Usage: nargo compile [OPTIONS]
For more information, try '--help'.
* The terminal process "/home/user/.aztec/bin/aztec-nargo 'compile', '--program-dir', '/home/user/myRepos/Test repo/aztec.js-test/aztec-app/src/contracts', '--package', 'boxreact'" terminated with exit code: 2.
* Press any key to close the terminal.
if i move my project to the other folder (path to folder without spaces), like:
/home/user/myRepos/OtherRepo
- all working fine
To Reproduce
- Install the Noir Language Support extension to VScode
- Create react app template via create-aztec-app package
- Install all aztec packages and utilites like here: https://docs.aztec.network/developers/getting_started/quickstart
- Open VScode with project, which created in first step
- Open file: src/contracts/src/main.nr
- Press the 'Compile' over contract name
Environment
Ubuntu 22.04.3 LTS
nargo version = 0.25.0
noirc version = 0.25.0+b11911b9d664d37ba21edaee99d4e027e25a9d70
(git version hash: b11911b9d664d37ba21edaee99d4e027e25a9d70, is dirty: false)
Additional Context
ill try to fix it in vscode-noir/src/extension.ts
in registerCommands
method, but its didnt help me
result:
* Executing task: /home/user/.aztec/bin/aztec-nargo compile --program-dir "/home/user/myRepos/Test repo/aztec.js-test/aztec-app/src/contracts" --package boxreact
error: unexpected argument 'repo/aztec.js-test/aztec-app/src/contracts"' found
Usage: nargo compile [OPTIONS]
For more information, try '--help'.
* The terminal process "/home/user/.aztec/bin/aztec-nargo 'compile', '--program-dir', '"/home/user/myRepos/Test repo/aztec.js-test/aztec-app/src/contracts"', '--package', 'boxreact'" terminated with exit code: 2.
* Press any key to close the terminal.
Would you like to submit a PR for this Issue?
Maybe
Support Needs
Where i need to look to fix that?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
📋 Backlog
Activity