![](/img/trans.png)
[英]How can I execute a script with environment variable and execute with truffle
[英]I try to deploy my smart contract in truffle but is says "unsupported compiler" when I "truffle migrate" how can I fix this?
编译.\src\contracts\Migrations.sol 编译.\src\contracts\Migrations.sol 编译.\src\contracts\Tether.sol
编译.\src\contracts\Tether.sol
写入 D:\Projects\ANIS\Decentralized_Bank\src\truffle_abis 的工件使用以下命令成功编译:
编译你的合同...
at C:\Users\OMEN\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\workflow-compile\index.js:28:1
at Array.map (<anonymous>)
at compile (C:\Users\OMEN\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\workflow-compile\index.js:26:1)
at Object.compile (C:\Users\OMEN\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\workflow-compile\index.js:68:47)
at Object.compileAndSave (C:\Users\OMEN\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\workflow-compile\index.js:95:47)
at Object.run (C:\Users\OMEN\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\core\lib\commands\migrate.js:199:1)
at Command.run (C:\Users\OMEN\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\core\lib\command.js:183:1)
松露 v5.4.11(核心:5.4.11)节点 v14.17.2
编译器:{ solc:{ version: '^0.5.0', optimizer:{ enabled: true, runs: 200 } } }
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.