I am trying to compile solidity smart contract using npm solc. I tried to follow different examples.
Link to example: https://medium.com/coinmonks/how-to-compile-a-solidity-sma
I fixed the error with adding "npm install --save solc@0.4.25" in cmd. Error is the solidity version. you need to install old version of solidity to execute the compile script