Node@14 circular dependency bug
Opened this issue · 2 comments
mightybart commented
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 commented
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 commented
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"
}
}