You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anyone else running into trouble w/ remappings when moving between environments / operating systems? My project works fine on OSX Monterey but not on Ubuntu 22.04 LTS (Jammy) even though the file path that's failing is accurate.
Failed to resolve file: "/home/path/to/project/lib/forge-std/src/Test.Sol": No such file or directory (os error 2).
--> "/home/path/to/project/test/MyTest.t.sol"
"forge-std/Test.Sol"
Check configured remappings.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Anyone else running into trouble w/ remappings when moving between environments / operating systems? My project works fine on OSX Monterey but not on Ubuntu 22.04 LTS (Jammy) even though the file path that's failing is accurate.
Failed to resolve file: "/home/path/to/project/lib/forge-std/src/Test.Sol": No such file or directory (os error 2).
--> "/home/path/to/project/test/MyTest.t.sol"
"forge-std/Test.Sol"
Check configured remappings.
remappings.txt:
@uniswap/v2-core/=lib/v2-core/
ds-test/=lib/forge-std/lib/ds-test/src/
forge-std/=lib/forge-std/src/
v2-core/=lib/v2-core/contracts/
v2-periphery/=lib/v2-periphery/contracts/
Beta Was this translation helpful? Give feedback.
All reactions