Skip to content

Circular Dependency Issue #286

@StrictlySkyler

Description

@StrictlySkyler

Hi folks, it looks like there's an outstanding issue related to istanbul and Node 14+, which seems to have propagated into this plugin. Here's the error it spits when running a coverage report on 6.1.1:

W20230821-23:42:51.097(-7)? (STDERR) (node:40255) Warning: Accessing non-existent property 'VERSION' of module exports inside circular dependency
W20230821-23:42:51.098(-7)? (STDERR)     at emitCircularRequireWarning (internal/modules/cjs/loader.js:705:11)
W20230821-23:42:51.098(-7)? (STDERR)     at Object.get (internal/modules/cjs/loader.js:719:5)
W20230821-23:42:51.098(-7)? (STDERR)     at Object.<anonymous> (/home/skyler/.meteor/packages/lmieulet_meteor-coverage/.4.1.0.8m3704.aeijg++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/istanbul/lib/command/help.js:9:37)
W20230821-23:42:51.098(-7)? (STDERR)     at Module._compile (internal/modules/cjs/loader.js:1116:14)
W20230821-23:42:51.099(-7)? (STDERR)     at Module.Mp._compile (/tmp/meteor-test-runyrfiaa.xznoo/.meteor/local/build/programs/server/runtime.js:77:23)
W20230821-23:42:51.099(-7)? (STDERR)     at Object.Module._extensions..js (/tmp/meteor-test-runyrfiaa.xznoo/.meteor/local/build/programs/server/runtime.js:105:23)
W20230821-23:42:51.099(-7)? (STDERR)     at Module.load (internal/modules/cjs/loader.js:981:32)
W20230821-23:42:51.099(-7)? (STDERR)     at Module.Mp.load (/tmp/meteor-test-runyrfiaa.xznoo/.meteor/local/build/programs/server/runtime.js:37:33)
W20230821-23:42:51.099(-7)? (STDERR)     at Function.Module._load (internal/modules/cjs/loader.js:821:12)
W20230821-23:42:51.099(-7)? (STDERR)     at Module.require (internal/modules/cjs/loader.js:1005:19)
W20230821-23:42:51.100(-7)? (STDERR)     at require (internal/modules/cjs/helpers.js:107:18)
W20230821-23:42:51.100(-7)? (STDERR)     at /home/skyler/.meteor/packages/lmieulet_meteor-coverage/.4.1.0.8m3704.aeijg++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/istanbul/lib/util/factory.js:56:35
W20230821-23:42:51.100(-7)? (STDERR)     at Array.forEach (<anonymous>)
W20230821-23:42:51.100(-7)? (STDERR)     at Factory.loadStandard (/home/skyler/.meteor/packages/lmieulet_meteor-coverage/.4.1.0.8m3704.aeijg++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/istanbul/lib/util/factory.js:53:29)
W20230821-23:42:51.100(-7)? (STDERR)     at Object.<anonymous> (/home/skyler/.meteor/packages/lmieulet_meteor-coverage/.4.1.0.8m3704.aeijg++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/istanbul/lib/register-plugins.js:12:9)
W20230821-23:42:51.100(-7)? (STDERR)     at Module._compile (internal/modules/cjs/loader.js:1116:14)

Seems to be referenced on the old repo over here:
gotwarlost/istanbul#940

How can we get this issue fixed?

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions