-
Notifications
You must be signed in to change notification settings - Fork 248
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
called Option::unwrap()
on a None
value
#981
Comments
Faced this too just now |
If it helps, I installed Noir with WASM backend https://noir-lang.org/getting_started/nargo/installation.html#option-21-install-executable-with-wasm-backend |
Yeah I also installed Noir with WASM backend |
Hi @aguzmant103 and @zakrad , thank you for this report. I'm unable to reproduce this on the prebuilt binaries or on the tip of master. Can you confirm which commit you're building from and share the full error message so that I can see where this error is being thrown? |
@TomAFrench here you go. Is this what you're after? |
Yes, that helps a lot. Thank you. Looks like the embedded std lib isn't being found somehow. It works fine on Ubuntu so potentially it's a windows specific issue? Something related to forward vs backwards slashes not being handled in the prefix for @kobyhallx, I think you have a windows installation. Could you test this out to see if you can reproduce? |
I dont know which commit but I pulled with this |
I also tried with wsl on windows with same error |
I'm on Windows directly so that theory could be right |
@TomAFrench still there unfortunately Is it okay I just installed it on top of the last one? (I couldn't find how to remove the old version). I just:
|
Yeah, that's perfect. Thanks for testing. Not entirely surprising that it didn't work. My guess is the fake "path" for the stdlib is getting converted from |
@TomAFrench this issue was closed by mistake? Lmk what other things to try :) |
Nope, should be fixed if you build from the latest master. |
This fix is included in the 0.3.2 release so if you pull the latest binary (once its built) then you should good to go. |
Aim
I was following the Noir hello_world tutorial and encountered this error after
nargo check
Expected behavior
It should generate two additional files in my hello_world folder
Bug
To reproduce
Installation method
Compiled from source
Nargo version
nargo 0.3.0
@noir-lang/noir_wasm version
No response
@noir-lang/barretenberg version
No response
@noir-lang/aztec_backend version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: