Closed grctest closed 5 years ago
Most of the packages in there can probably be updated to newer versions. However it need to be tested one by one and make sure everything remains working. I know for example the explorer fails with bootstrap 4(last version - dependency from bower, not from node) so it is using bootstrap 3.
Regarding:
npm WARN lifecycle bitshares-explorer@0.0.0~postinstall: cannot run in wd %s %s (wd=%s) bitshares-explorer@0.0.0 bower install /root/open-explorer-hertz.network
https://github.com/npm/npm/issues/3497#issuecomment-23966536 Turns out this warning is because I'm running this as root instead of as a secondary user.
Workarounds:
npm install --unsafe-perm
bower install
refuses to run as sudo, cannot use the unsafe-perm arg solution.if the postinstall works the bower install
is not needed. to run bower as root use bower install --allow-root
Using a non-root user solved the post install problem.
All dependencies are in the last version, this is an old one. closing.
Running Ubuntu 17.10, installed NVM & set it to 'stable' which provides node v9.5.0 (npm v5.6.0).
I got the following warnings upon
npm install
:Could be worth updating these packages? https://github.com/oxarbitrage/open-explorer/blob/master/package.json
Cheers 👍