【发布时间】:2018-04-05 19:09:14
【问题描述】:
使用最新版本的 npm 但我无法成功安装编译器。
ash@ubuntu:~/inbox$ node -v
v8.11.1
ash@ubuntu:~/inbox$ npm -v
5.8.0
ash@ubuntu:~/inbox$ sudo npm install --save solc
npm WARN saveError ENOENT: no such file or directory, open '/home/ash/inbox/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/ash/inbox/package.json'
npm WARN webpack-cli@2.0.14 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN inbox No description
npm WARN inbox No repository field.
npm WARN inbox No README data
npm WARN inbox No license field.
+ solc@0.4.21
updated 1 package in 5.593s
ash@ubuntu:~/inbox$
【问题讨论】:
标签: javascript npm solidity