admin管理员组文章数量:1287882
During packaging of chaincode of tar.gz file in IBM Hyperledger Fabric I'm getting the below error:
Failed to determine workspace language type, supported languages are JavaScript, TypeScript, Go and Java. Please ensure your contract's root-level directory is open in the Explorer.
All my environment setup is in javascript but system is trying to mess it in between of java and javascript and I'm not working anywhere in java.
I had also opened my lib folder which only has smart contract in it for packaging chaincode but still I'm getting the below terminal error: Executing task: C:\Users"user name".cargo\bin\cargo.exe build
error: could not find Cargo.toml
in C:\"my parent directory path"\lib
or any parent directory
- The terminal process "C:\Users"user name".cargo\bin\cargo.exe 'build'" terminated with exit code: 101.
- Terminal will be reused by tasks, press any key to close it.
I tried to open my lib folder which contains only the smart contracts in a separate visual studio code.
I expect that my packaging chaincode of tar.gz file would got created but it throws the error:
Failed to determine workspace language type, supported languages are JavaScript, TypeScript, Go and Java. Please ensure your contract's root-level directory is open in the Explorer.
Terminal Error:
Executing task: C:\Users"user name".cargo\bin\cargo.exe build
error: could not find Cargo.toml
in C:\"my parent directory path"\lib
or any parent directory
- The terminal process "C:\Users"user name".cargo\bin\cargo.exe 'build'" terminated with exit code: 101.
- Terminal will be reused by tasks, press any key to close it.
Help me to resolve the above issue so that I can create my packaging chaincode in IBM Hyperledger Fabric in visual studio code.
本文标签: javascriptIBM Hyperledger Fabric error in packaging chaincodeStack Overflow
版权声明:本文标题:javascript - IBM Hyperledger Fabric error in packaging chaincode - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741245953a2364877.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论