foundry icon indicating copy to clipboard operation
foundry copied to clipboard

Bug found when doing forge build

Open JJtheAndroid opened this issue 3 years ago • 3 comments

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.

JJtheAndroid avatar Aug 05 '22 03:08 JJtheAndroid

thanks!

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

does this happen in a specific project?

mattsse avatar Aug 05 '22 16:08 mattsse

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

@openzeppelin/=lib/openzeppelin-contracts/

JJtheAndroid avatar Aug 05 '22 17:08 JJtheAndroid

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 avatar Aug 08 '22 16:08 onbjerg

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 avatar Aug 11 '22 18:08 onbjerg