NPM Error trying to run solcjs #291
-
I'm trying to run the command @PatrickAlphaC has in the video at 6:53:18.
I'm trying to run it with 'npm' instead of 'yarn' ... I'm more familiar with NPM. I keep getting the following error messages:
I have tried both variations of the command ... with and without the 'run' word after npm. (No luck). Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@adospinoiu you do need to type npm run, just start with solcjs and the rest of the command like this: solcjs --bin --abi --include-path node_modules/ --base-path . -o . SimpleStorage.sol and make sure that solcjs should be install and included in the dependencies in package.json |
Beta Was this translation helpful? Give feedback.
-
Use
|
Beta Was this translation helpful? Give feedback.
Use
npx
oryarn
npm
is a package manager but doesn't do execution.npx
does the execution ofnpm
packages