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.soland 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
npxoryarnnpmis a package manager but doesn't do execution.npxdoes the execution ofnpmpackages