dougwilson / nodejs-depd

Deprecate all the things
MIT License
327 stars 87 forks source link

Cannot redefine property: callSiteToString #25

Closed are closed 6 years ago

are commented 6 years ago

I have no idea why this error occurs, have trouble pinpointing it down.

TypeError: Cannot redefine property: callSiteToString
    at Function.defineProperty (<anonymous>)
    at Object.get [as callSiteToString] (\path\to\project\node_modules\depd\lib\compat\index.js:57:12)
    at Object.<anonymous> (\path\to\project\node_modules\depd\lib\compat\index.js)

I'm using those packages: koa, koa-router, std/esm and mongoose.

are commented 6 years ago

I have reduced the issue to koa. Just doing

import Koa from 'koa'

throws this error.

are commented 6 years ago

I think this is actually an error with @std/esm, therefore I'm closing this issue.