Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/redis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
npm组件安装_Npm_Web3 - Fatal编程技术网

npm组件安装

npm组件安装,npm,web3,Npm,Web3,我不熟悉node和npm。当我参考指南时,对于web3 eth帐户 上面说, 安装 Node.js 在浏览器中 在存储库中运行以下命令的生成: npm run-script build-all 然后在html文件中包含dist/web3-eth-accounts.js。这将 在窗口对象上公开Web3EthAccounts对象 “在web3.js存储库中运行以下内容的构建”是什么意思?我必须下载repo并运行命令?当我在脚本下检查package.son时,我看到没有定义任何buildall。请有

我不熟悉node和npm。当我参考指南时,对于web3 eth帐户 上面说,

安装

Node.js

在浏览器中

在存储库中运行以下命令的生成:

npm run-script build-all
然后在html文件中包含dist/web3-eth-accounts.js。这将 在窗口对象上公开Web3EthAccounts对象

“在web3.js存储库中运行以下内容的构建”是什么意思?我必须下载repo并运行命令?当我在脚本下检查package.son时,我看到没有定义任何
buildall
。请有人给我引路好吗

npm run-script build-all