Closed stevenpetryk closed 8 years ago
The specific commit where the issue was fixed in watchify is Pleochism/watchify@e9fe543a8ff45b125273159dbd1477f2b9cc4759.
Same issue.
That linked commit was never merged into watchify. This is where it got fixed in watchify: https://github.com/substack/watchify/pull/160. It looks like browserify-incremental works like how watchify worked before that change.
Can be reproduced using this test repo I made. The error is
Uncaught TypeError: Cannot read property 'version' of undefined
, which is being thrown by theelliptic.js
module of Browserify'scrypto
implementation. This only happens after the cache begins being used, which is incidentally after running browserify-incremental three times (see #8).It's worth noting that the Watchify library has encountered the same problem (substack/watchify#130, indutny/elliptic#30).