Emi*_*Kuo 9 node.js solidity truffle
I am new to Truffle and going through the Metacoin tutorial; I followed all the steps but when I do truffle compile, I get the following:
Error: Failed to fetch the Solidity compiler from the following locations: https://relay.trufflesuite.com/solc/bin/,https://solc-bin.ethereum.org/bin/,https://ethereum.github.io/solc-bin/bin/. Are you connected to the internet?
Run Code Online (Sandbox Code Playgroud)
I am connected to Internet and using: Truffle v5.5.26 (core: 5.5.26) Ganache v7.4.0 Solidity - 0.8.13 (solc-js) Node v16.13.1 Web3.js v1.7.4
小智 0
你永远不应该逃跑sudo按照上述答案的建议运行。尽管它可以工作,但由于您向这些软件包授予了管理员权限,因此它会使您的 PC 受到攻击。
相反,您应该运行npm doctor来检查节点环境运行状况。这应该可以解决问题。
| 归档时间: |
|
| 查看次数: |
3352 次 |
| 最近记录: |