Failed to compile(How to Build Serverless Dapps)

I have a different compile issue related to the same video. When I try and compile I get this.

Error: Failed to complete request to: https://solc-bin.ethereum.org/bin/soljson-v0.7.5+commit.eb77ed08.js. Are you connected to the internet?

Error: EACCES: permission denied, open ‘/usr/local/lib/node_modules/truffle/node_modules/.cache/truffle/soljson-v0.7.5+commit.eb77ed08.js’
at CompilerSupplier.errors (/usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-compile/compilerSupplier.js:535:1)
at CompilerSupplier.getByUrl (/usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-compile/compilerSupplier.js:279:1)
Truffle v5.0.1 (core: 5.0.1)
Node v14.16.1

Is this an issue with Linux or Visual Studio not letting me reach the link?

1 Like

Hey @Baidis, hope you are ok.

Im not complete sure, but it could be that you have a permission access issue with VS, problem could be that is not capable to execute without the proper config to: access internet and read/modify data.

Try to google about linux Visual Studio Error: EACCES: permission denied, open.

Might take you to a easy fix for it.

Carlos Z