Closed enderphan94 closed 1 year ago
Looks like you have solc-select installed globally and it runs when you invoke solc
. This message is not coming from solc installed via npm.
In fact solc-js does not provide a solc
binary at all. It contains an emscripten binary that has no CLI interface. To use it on the command line you try npx solcjs --version
, but overall for command-line use I recommend using a native binary.
I'm using MacOS M2, after installing solc via node and I got this error
I've installed solc-select via pip3