Skip to content

npm install platon-truffle failed #23

Description

@hikelee

$cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"
hike@u:/code/blockchain/HelloWorld/migrations$ lsb_relase

$npm -v
6.14.8
$node -v
v14.15.1

$$ npm install -g platon-truffle@0.13.1
npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
/usr/local/node/14.15.1/bin/platon-truffle -> /usr/local/node/14.15.1/lib/node_modules/platon-truffle/build/cli.bundled.js

platon-truffle@0.13.1 postinstall /usr/local/node/14.15.1/lib/node_modules/platon-truffle
node ./scripts/postinstall.js

  • Fetching solc version list from solc-bin. Attempt add linux truffle init #1

  • Downloading compiler. Attempt add linux truffle init #1
    Error: Error while attempting to download and cache solc 0.5.12: Command failed: node ./build/cli.bundled.js obtain --solc=0.5.12

  • Fetching solc version list from solc-bin. Attempt add linux truffle init #1

  • Downloading compiler. Attempt add linux truffle init #1

    at postinstallObtain (/usr/local/node/14.15.1/lib/node_modules/platon-truffle/scripts/postinstall.js:13:11)
    at Object. (/usr/local/node/14.15.1/lib/node_modules/platon-truffle/scripts/postinstall.js:20:3)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47

  • platon-truffle@0.13.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions