none
Unable to create a smart contract RRS feed

  • Question

  • Hi,

    I am trying to create a smart contract after I connected to a consortium. It returned errors as follows:

    Get version for required apps: node,npm,git
    [Execute command] 
    Working dir: c:\Users\zhu\Projects\Blockchain\HelloBlockchain
    Running command
    npx truffle unbox Azure-Samples/Blockchain-Ethereum-Template
    [Execute command] 
    [Execute command] - Preparing to download
    [Execute command] √ Preparing to download
    [Execute command] - Downloading
    [Execute command] √ Downloading
    [Execute command] - Cleaning up temporary files
    [Execute command] √ Cleaning up temporary files
    [Execute command] - Setting up box
    [Execute command] npm WARN deprecated truffle-hdwallet-provider@1.0.10: WARNING: This package has been renamed to @truffle/hdwallet-provider.
    npm WARN deprecated fs-promise@2.0.3: Use mz or fs-extra^3.0 with Promise Support
    npm WARN deprecated tar.gz@1.0.7: ⚠️  WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
    npm ERR! Error while executing:
    npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t git://github.com/frozeman/WebSocket-Node.git
    npm ERR! 
    npm ERR! fatal: unable to connect to github.com:
    npm ERR! github.com[0: 192.30.253.112]: errno=No such file or directory
    npm ERR! 
    npm ERR! 
    npm ERR! exited with error code: 128
    npm ERR! A complete log of this run can be found in:
    npm ERR!     C:\Users\zhu\AppData\Roaming\npm-cache\_logs\2019-09-11T21_01_54_824Z-debug.log
    [Execute command] × Setting up box
    [Execute command] Error: Command failed: npm install
    npm WARN deprecated truffle-hdwallet-provider@1.0.10: WARNING: This package has been renamed to @truffle/hdwallet-provider.
    npm WARN deprecated fs-promise@2.0.3: Use mz or fs-extra^3.0 with Promise Support
    npm WARN deprecated tar.gz@1.0.7: ⚠️  WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
    npm ERR! Error while executing:
    npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t git://github.com/frozeman/WebSocket-Node.git
    npm ERR! 
    npm ERR! fatal: unable to connect to github.com:
    npm ERR! github.com[0: 192.30.253.112]: errno=No such file or directory
    npm ERR! 
    npm ERR! 
    npm ERR! exited with error code: 128
    npm ERR! A complete log of this run can be found in:
    npm ERR!     C:\Users\zhu\AppData\Roaming\npm-cache\_logs\2019-09-11T21_01_54_824Z-debug.log
        at checkExecSyncError (child_process.js:621:11)
        at Object.execSync (child_process.js:657:15)
        at Object.installBoxDependencies (C:\Users\zhu\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\box\dist\lib\utils\unbox.js:106:1)
        at Object.setUpBox (C:\Users\zhu\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\box\dist\lib\utils\index.js:67:1)
        at Object.<anonymous> (C:\Users\zhu\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\box\dist\box.js:57:1)
        at Generator.next (<anonymous>)
        at fulfilled (C:\Users\zhu\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\box\dist\box.js:4:42)
    [Execute command] Truffle v5.0.35 (core: 5.0.35)
    Node v12.10.0
    [Execute command] Finished running command

    Please help,

    Thanks,

    Leo

    Wednesday, September 11, 2019 9:05 PM

All replies