ok. so i have re-installed nodejs legacy from
https://nodejs.org/en/blog/release/v0.8.23/.
now, i am getting the following errors when trying to build from a fresh clone repository.
note that this is just for the npm install in the cli folder.
npm ERR! Error: No compatible version found: json-loader@'^0.5.1'
npm ERR! Valid install targets:
npm ERR! ["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.2.0","0.5.0","0.5.1","0.5.2","0.5.3"]
npm ERR! at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:685:10)
npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:607:10
npm ERR! at saved (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
npm ERR! at Object.oncomplete (fs.js:297:15)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR! System Darwin 15.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd $PWD/Research/CryptoCurrencies/bitshares-2-ui/cli
npm ERR! node -v v0.8.23
npm ERR! npm -v 1.2.18
---
The debug file has the same error info, but with line numbers. No needing to repeat.