Skip to content

oveddan/foundry-symlink-issue-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forge cannot read files from symlinks examples

This repo shows how forge cannot read files from symlinks, even when the path is explicitly allowed in foundry config.

Steps to reproduce

Install dependencies:

yarn

Run forge tests in contracts package:

cd packages/contracts
forge test

You will get an error: Reason: the path node_modules/@repo/imported/files/config.json is not allowed to be accessed for read operations even though the path is allowed in foundry config. The error happens cause the path is a symlink.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published