I'm a novice at Windows dev so I'm gonna just write a log of what I tried and see if I'm missing something obvious.
Windows 10
node 12.6.3
npm 6.14.4
git 2.26.2.windows.1
First this oddity on master branch, just one commit ahead of 0.2.9-rc2
362e3f5
$ git checkout master
$ rm -rf node_modules/
$ npm i
npm ERR! code ENOLOCAL
npm ERR! Could not install from "node_modules\hsd\bcrypto@git+https:\github.com\bcoin-org\bcrypto.git#5c3e2b8b3f79d13e1b5c26be197708d0b9e5bcf9" as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\turnt\AppData\Roaming\npm-cache\_logs\2020-06-05T17_35_28_000Z-debug.log
Next I checked out the release candidate directly:
120bd8f
$ git checkout tags/v0.2.9-rc.2
$ rm -rf node_modules/
$ npm i
This install runs fine, but threw this error when I tried run dev mode:
Windows pop up dialog:
An error occurred that prevented Bob from starting. Please quit and try again.
Error: A dynamic link library (DLL) initialization routine failed.
\\?\C:\Users\turnt\Desktop\work\bob-wallet\node_modules\bcrypto\build\Release\bcrypto.node
Stack: Error: A dynamic link library (DLL) initialization routine failed.
\\?\C:\Users\turnt\Desktop\work\bob-wallet\node_modules\bcrypto\build\Release\bcrypto.node
at process.func (electron/js2c/asar.js:155:31)
at process.func [as dlopen] (electron/js2c/asar.js:155:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
at Object.func (electron/js2c/asar.js:155:31)
at Object.func [as .node] (electron/js2c/asar.js:155:31)
at Module.load (internal/modules/cjs/loader.js:645:32)
at Function.Module._load (internal/modules/cjs/loader.js:560:12)
at Module.require (internal/modules/cjs/loader.js:685:19)
at require (internal/modules/cjs/helpers.js:16:16)
at bindings (C:\Users\turnt\Desktop\work\bob-wallet\node_modules\loady\lib\loady.js:98:17)
Finally tried an even older commit when hsd
was still pinned to a pinheadmz branch:
8d7698e
$ git checkout 8d7698e481b4beb92ff3e283ae0696daa9361dcf
$ rm -rf node_modules
$ npm i
$ npm run dev
Results in the same windows DLL error.
Also just to note that downloading the rc2 binary from github runs FINE as far as I can tell, albiet a bit slow wihtout the native crytpo...