Hyperledger Fabric 智能合约实战 (5) sdk node软件安装
生活随笔
收集整理的這篇文章主要介紹了
Hyperledger Fabric 智能合约实战 (5) sdk node软件安装
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
設置一個參數,否則會有錯誤"javascript heap of memory".
export NODE_OPTIONS=–max_old_space_size=4096
安裝需要插件
npm install pkcs11js --unsafe-perm–unsafe-perm 參數意思:
If npm detects it is running as root it drops to a non-privileged user which then doesn’t have permissions to write to /root/.node-gyp.
The --unsafe-perm option stops it from changing user.
nvm doesn’t have this problem when not using sudo because it stores everything under the current users’ home directory.
總結
以上是生活随笔為你收集整理的Hyperledger Fabric 智能合约实战 (5) sdk node软件安装的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Hyperledger Fabric 智
- 下一篇: 区块链预言机(5)预言机原理