Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Node@14 circular dependency bug #78

Open
mightybart opened this issue May 15, 2020 · 2 comments
Open

Node@14 circular dependency bug #78

mightybart opened this issue May 15, 2020 · 2 comments

Comments

@mightybart
Copy link

I'm having issues after upgrading Node v12 to v14: Warning: Accessing non-existent property 'XXX' of module exports inside circular dependency

Downgrading back to v12 solved the problem but it is not ideal... any ideas?

@a-luna
Copy link

a-luna commented Jun 14, 2020

These warnings are generated by the shelljs package, and upgrading to version 0.8.4 is necessary to remove them. I created PR #79 which contains the fix.

@adriancbo
Copy link

resolutions in your local package.json is a workaround:

yarn init -y

{
  "name": "my-package",
  "version": "1.0.0",
  "dependencies": {
    "glyphhanger": "^3.2.0",
    "shelljs": "0.8.4"
  },
  "resolutions": {
    "shelljs": "0.8.4"
  }
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants