Closed lari closed 3 years ago
Got this solved for now by bundling my services.js
with browserify so that it includes all the node modules:
browserify --node services.js -o services.bundle.js
This way I can keep using crypto-pouch as a node module with nw.js but I actually don't need to include the node_modules directory at all in the release version, so it won't cause any "too long path" errors any more on Windows.
I'll still leave this open until somebody decides, whether the actual issue can be solved within this plugin or should be solved either in Chromium or nw.js.
Closing this issue since it's been a while and the code has changed a lot. @lari please let me know if you still need help :)
Hello, I'm trying to use the browserified version with nw.js (node-webkit) and getting the following error:
Using version 1.1.3 and tried with nw.js v0.12.3: (IO.js v1.2.0, Chromium 41.0.2272.76) and node-webkit v0.11.6 (Node v0.11.13, Chromium 38.0.2125.104).
So chromium doesn't support crypto?
Any help on solving this very much appreciated.
You might ask why I cannot just use the node version, since I'm running it on nw.js. Well, the dependencies go so deep that on Windows I'm getting "path too long" errors.