【问题标题】:Must provide a file error Command failed with exit code 1必须提供文件错误命令失败,退出代码为 1
【发布时间】:2022-08-19 06:15:00
【问题描述】:
PS E:\\Block Chain Projects\\Ethers-Simple_storage> yarn solcjs --bin --abi --include-path node_modules/ --base-path . -o .simplestorage.sol yarn run v1.22.15 warning package.json: No license field $ \"E:\\Block Chain Projects\\Ethers-Simple_storage\\node_modules\\.bin\\solcjs\" --bin --abi --include-path no

我已附上屏幕截图...如有必要,请检查

[SS with error and code && path][1]
  • 请提供最低可重现代码..

标签: node.js ethereum solidity hadoop-yarn


【解决方案1】:

建议以这样一种方式发布问题,以便人们更容易重现您所做的事情以理解问题。如果没有任何换行符,您粘贴的输出不方便掌握。我们也看不到输出中的错误。我认为实际上连截图都没有上传。

幸运的是,我很可能知道问题的上下文。试着把它写成. simplestorage.sol 而不是.simplestorage.sol(后面没有空格。)

此外,我认为 --include-path 可能有问题。

【讨论】:

    猜你喜欢
    • 2018-07-12
    • 2015-10-12
    • 2018-10-15
    • 1970-01-01
    • 1970-01-01
    • 2019-12-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多