Truffle 나타나기 Dockerized solc를 실행하려고 합니다.
3183 단어 블록체인
E:\workspace\KnowledgeManagement\BlockChain\Solidity\study\truffle>truffle complie
Compiling your contracts...
===========================
'docker' �����ڲ����ⲿ���Ҳ���ǿ����еij���
�������ļ�
Error: You are trying to run dockerized solc, but docker is not installed.
at Docker.errors (E:\softInstall
odejs
ode_global
ode_modules\truffle\build\webpack:\packages\compile-solidity\compilerSupplier\loadingStrategies\LoadingStrategy.js:66:1)
at Docker.validateAndGetSolcVersion (E:\softInstall
odejs
ode_global
ode_modules\truffle\build\webpack:\packages\compile-solidity\compilerSupplier\loadingStrategies\Docker.js:78:1)
at Docker.load (E:\softInstall
odejs
ode_global
ode_modules\truffle\build\webpack:\packages\compile-solidity\compilerSupplier\loadingStrategies\Docker.js:15:1)
at CompilerSupplier.load (E:\softInstall
odejs
ode_global
ode_modules\truffle\build\webpack:\packages\compile-solidity\compilerSupplier\index.js:70:1)
at loadParser (E:\softInstall
odejs
ode_global
ode_modules\truffle\build\webpack:\packages\compile-solidity\profiler\loadParser.js:15:29)
at asyncFunction (E:\softInstall
odejs
ode_global
ode_modules\truffle\build\webpack:\packages\compile-solidity\profiler\index.js:23:1)
at Object.required_sources (E:\softInstall
odejs
ode_global
ode_modules\truffle\build\webpack:\packages\compile-solidity\profiler\polycallbackify.js:14:1)
at hasTargets (E:\softInstall
odejs
ode_global
ode_modules\truffle\build\webpack:\packages\compile-solidity
ew\index.js:77:1)
at new Promise ()
at AsyncFunction.compile.with_dependencies (E:\softInstall
odejs
ode_global
ode_modules\truffle\build\webpack:\packages\compile-solidity
ew\index.js:76:33)
at compile.necessary (E:\softInstall
odejs
ode_global
ode_modules\truffle\build\webpack:\packages\compile-solidity
ew\index.js:56:1)
at E:\softInstall
odejs
ode_global
ode_modules\truffle\build\webpack:\packages\workflow-compile
ew\index.js:52:1
at async Promise.all (index 0)
at compile (E:\softInstall
odejs
ode_global
ode_modules\truffle\build\webpack:\packages\workflow-compile
ew\index.js:39:1)
at Object.compile (E:\softInstall
odejs
ode_global
ode_modules\truffle\build\webpack:\packages\workflow-compile
ew\index.js:82:52)
Truffle v5.1.44 (core: 5.1.44)
Node v12.18.3
E:\workspace\KnowledgeManagement\BlockChain\Solidity\study\truffle>
원인truffle-config가 나타납니다.js 프로필
compilers: {
solc: {
// version: "0.5.1", // Fetch exact version from solc-bin (default: truffle's version)
// docker: true, // Use "0.5.1" you've installed locally with docker (default: false)
settings: { // See the solidity docs for advice about optimization and evmVersion
optimizer: {
enabled: false,
runs: 200
},
//evmVersion: "byzantium"
}
},
},
docker 주석을 삭제하거나false
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
Azure Blockchain Service를 사용해보십시오.2(컨트랙트 배포)에서는 Azure Blockchain Service를 사용하여 블록체인을 구축할 때까지 했습니다. 이번 기사에서는 구축한 블록체인에 대해 계약(이번에는 ERC20의 토큰 계약)을 배포합니다. Azure Blockch...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.