We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I use dependencies and import remapping within an Ape project, I get "File not found" errors reported in my import statements.
As per the Ape dependencies docs, I have the following in my ape-config.yaml:
ape-config.yaml
dependencies: - name: OpenZeppelin github: OpenZeppelin/openzeppelin-contracts version: 4.9.3 solidity: import_remapping: - "@openzeppelin=OpenZeppelin/4.9.3"
Then, within a solidity file:
import "@openzeppelin/token/ERC721/ERC721.sol";
If I run ape compile, everything is happy and my contract compiles ok
ape compile
But, in my editor (neovim), the language server gives:
Source "@openzeppelin/token/ERC721/ERC721.sol" not found: File not found. Searched the following locations: "". solidity (6275) [5, 1]
The text was updated successfully, but these errors were encountered:
I'm heading the same problem on the VSCode, any solution?
Sorry, something went wrong.
No branches or pull requests
When I use dependencies and import remapping within an Ape project, I get "File not found" errors reported in my import statements.
As per the Ape dependencies docs, I have the following in my
ape-config.yaml
:Then, within a solidity file:
If I run
ape compile
, everything is happy and my contract compiles okBut, in my editor (neovim), the language server gives:
The text was updated successfully, but these errors were encountered: