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

Bug found when doing forge build #2626

Closed
JJtheAndroid opened this issue Aug 5, 2022 · 4 comments
Closed

Bug found when doing forge build #2626

JJtheAndroid opened this issue Aug 5, 2022 · 4 comments
Labels
C-forge Command: forge Cmd-forge-build Command: forge build T-bug Type: bug
Milestone

Comments

@JJtheAndroid
Copy link

forge build
foundry config error: no prefix found in Remapping Provider
The application panicked (crashed).
Message: failed to extract foundry config
Location: config\src\lib.rs:415

This is a bug.

@gakonst gakonst added this to Foundry Aug 5, 2022
@gakonst gakonst moved this to Todo in Foundry Aug 5, 2022
@mattsse
Copy link
Member

mattsse commented Aug 5, 2022

thanks!

could please add the contents of remappings.txt and foundry.toml if you have them

does this happen in a specific project?

@JJtheAndroid
Copy link
Author

It seems that if I create a remappings.txt before installing dependencies, the bug appears. This was my remappings.txt

@openzeppelin/=lib/openzeppelin-contracts/

@onbjerg
Copy link
Collaborator

onbjerg commented Aug 8, 2022

Can you still provide the full foundry.toml, remappings.txt and the command you issued? Otherwise it is going to be hard for us to reproduce unfortunately

@onbjerg onbjerg added T-bug Type: bug C-forge Command: forge Cmd-forge-build Command: forge build labels Aug 8, 2022
@onbjerg onbjerg added this to the v1.0.0 milestone Aug 8, 2022
@onbjerg onbjerg moved this from Todo to May be solved in Foundry Aug 8, 2022
@onbjerg
Copy link
Collaborator

onbjerg commented Aug 11, 2022

The error message has been improved, since we can't reproduce we will close this issue, but feel free to ping if the issue persists!

@onbjerg onbjerg closed this as completed Aug 11, 2022
Repository owner moved this from May be solved to Done in Foundry Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-forge Command: forge Cmd-forge-build Command: forge build T-bug Type: bug
Projects
Archived in project
Development

No branches or pull requests

3 participants