發表文章

目前顯示的是 5月, 2018的文章

[Ethereum區塊鏈] "GET /node_modules/web3/dist/web3.min.js" Error (404): "Not found"

會發生  "GET /node_modules/web3/dist/web3.min.js" Error (404): "Not found"  這個錯誤 請在 hello_web3 資料夾下執行      npm install 這樣才會把需要的套件安裝起來

[Ethereum區塊鏈] npm install truffle-hdwallet-provider error

使用 npm install truffle-hdwallet-provider or npm install truffle-hdwallet-provider 會發生 npm ERR! code ENOGIT npm ERR! No git binary found in $PATH npm ERR! npm ERR! Failed using git. npm ERR! Please check if you have git installed and in your PATH. npm ERR! A complete log of this run can be found in: npm ERR!     /root/.npm/_logs/2018-05-25T12_45_33_203Z-debug.log 這時候就是沒有安裝 git  , 請先安裝git 若讀者想使用二進位安裝程式安裝 Git 到 Linux,一般來說讀者可經由發行套件提供的套件管理工具完成此工作。若讀者使用 Fedora,可使用  yum : $ yum install git-core 若讀者在以 Debian 為基礎的發行套件,如:Ubuntu。 試試  apt-get : $ apt-get install git 這時候就可以解決了 PS 要先確定你的  npm 和 node 是否為最新版