Skip to content
New issue

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

Look for globally installed libraries #79

Open
montyly opened this issue Mar 26, 2020 · 2 comments
Open

Look for globally installed libraries #79

montyly opened this issue Mar 26, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@montyly
Copy link
Contributor

montyly commented Mar 26, 2020

In some cases, truffle can compile codebase with libraries without the need from a local npm install. I am not sure when this happens, but my best guess is that the libraries are installed globally.

It happened most of the time with the OZ libraries.

If the libraries are not present in node_modules, we should look in the globally installed libraries

@montyly montyly added the enhancement New feature or request label Mar 26, 2020
@yxliang01
Copy link

What about also looking for locally installed libraries when they are imported? Looks like it's unsupported (at least for solc platform)

@montyly
Copy link
Contributor Author

montyly commented Sep 21, 2020

Hi @yxliang01,

Do you have more context regarding "locally installed" libraries accessible by solc? Is it for the ones used through the remapping, or is it something else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants