I was trying with a simple contract,when I do "node compile.js" in my windows cmd it throws an error.I was using vscode it showing error in const solc = require('solc'),I installed everything perfectly but I don't know why the error occurs.
[Ethereum] Could not find declaration module for file ‘solc’
ethereumjsjavascript
Best Answer
Had the same issue .