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

Cannot use nargo new outside of Noir project #1032

Closed
1 task done
vezenovm opened this issue Mar 23, 2023 · 1 comment
Closed
1 task done

Cannot use nargo new outside of Noir project #1032

vezenovm opened this issue Mar 23, 2023 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers nargo Noir's CLI development tool

Comments

@vezenovm
Copy link
Contributor

Aim

Tried to generate a new project using nargo new.

Expected behavior

I ran nargo new simple to make a quick project for testing and expected it to generate a new Noir project with a Nargo.toml and main file. I should be able to do this outside of an existing Noir project.

Bug

I instead got this error:

maximvezenov@MacBook-Air test_data % nargo new fail_simple
Error: cannot find a Nargo.toml in /Users/maximvezenov/Documents/dev/noir-lang/noir/crates/nargo/tests/test_data

Location:
    crates/nargo/src/cli/mod.rs:67:26

To reproduce

  1. Run nargo new and you will see it can only be done inside of an existing Noir project

Installation method

Compiled from source

Nargo version

nargo 0.3.2

@noir-lang/noir_wasm version

No response

@noir-lang/barretenberg version

No response

@noir-lang/aztec_backend version

No response

Additional context

No response

Submission Checklist

  • Once I hit submit, I will assign this issue to the Project Board with the appropriate tags.
@vezenovm vezenovm added bug Something isn't working good first issue Good for newcomers nargo Noir's CLI development tool labels Mar 23, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Mar 23, 2023
@jfecher
Copy link
Contributor

jfecher commented Mar 23, 2023

Repeat of #1029 which has already been merged

@jfecher jfecher closed this as completed Mar 23, 2023
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers nargo Noir's CLI development tool
Projects
Archived in project
Development

No branches or pull requests

2 participants