Skip to content
Discussion options

You must be logged in to vote

Solution:

The issue occurred because I was writing code in the wrong directory.

I was inside the /web3Security/ directory instead of the correct directory, /web3Security/4-puppy-raffle-audit.

How I fixed the error:

  1. I navigated to the correct directory:
    cd /web3Security/4-puppy-raffle-audit

  2. Once I was inside the 4-puppy-raffle-audit directory, the error Source not found: File outside of allowed directories.solidity(6275) was resolved.


This was a silly mistake which took me one day to fix lol.

This should help others facing a similar problem in the future !

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@EngrPips
Comment options

@BikalpaRegmi
Comment options

@EngrPips
Comment options

@BikalpaRegmi
Comment options

@EngrPips
Comment options

Comment options

You must be logged in to vote
1 reply
@EngrPips
Comment options

Answer selected by BikalpaRegmi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants