esm applications using esm-packages w/a `config` package as a dependency, results in typeerror

Created on 20 Apr 2018  Â·  4Comments  Â·  Source: standard-things/esm

⇒  npm run start

> [email protected] start /Users/chamm/esm-nyc-bug/esm-app
> node -r esm index.js

/Users/chamm/esm-nyc-bug/esm-package/node_modules/config/lib/config.js:1
TypeError: Function.prototype.toString requires that 'this' be a Function
    at Proxy.toString (<anonymous>)
    at Function.keys (<anonymous>)

see repo to reproduce

bug needs tests

All 4 comments

Thanks! I narrowed down the issue :D

v3.0.21 is released :tada:

awesome! thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kherock picture kherock  Â·  3Comments

mbostock picture mbostock  Â·  3Comments

ericelliott picture ericelliott  Â·  3Comments

mAAdhaTTah picture mAAdhaTTah  Â·  3Comments

janusqa picture janusqa  Â·  3Comments