willitscale/learning-solidity

tutorial 4

King-tobe opened this issue · 1 comments

The code is not compiling? It says "browser/library.sol" not found. How do i resolve this issue?

Hello @King-tobe
Perhaps you need to place the right import declaration path for the library.sol file. If the library.sol file is placed in the same folder with your testLibrary.sol file. I think you can remove browser/.
So it could be:
import './library.sol';