Closed also closed 6 years ago
Probably related to https://github.com/nodejs/node/pull/9289
I am seeing this issue on a windows 10 computer that is running node version v6.6.0. Ref v1.3.4 still works on this version of node.
Tested on Linux (Ubuntu 14, 32 bit and 64bit) running node v5.6.0. Was not running into this error.
https://github.com/TooTallNate/ref/commit/a1b8216fe7 must have broke older versions. Patch welcome if anyone beats me to it!
Ok, so I can repro with v6.9.1, but it doesn't happen on v6.10.3. Can you guys upgrade your Node.js version?
I've confirmed this works with 6.9.2; however for various reasons don't want to update (right now); have submitted a simple pull request which disables the enhanced inspection if it would not work..... https://github.com/btsimonh/ref/pull/1
Fixed in #89.
With the recent 1.3.5 release of
ref
, importing the module throws an error in Node.js 6.9.1. I've seen this on macOS 10.12.6 and 10.11.6