Caporal.js icon indicating copy to clipboard operation
Caporal.js copied to clipboard

Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency

Open harikrishnan-a-k opened this issue 5 years ago • 4 comments

writing const program=require('caporal') gives warning Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency

harikrishnan-a-k avatar Jun 03 '20 07:06 harikrishnan-a-k

What version do you use ?

mattallty avatar Jun 03 '20 07:06 mattallty

Googling it, it seems like several repo have these errors with node.js 14 - on which version of Node and of Caporal do you use ?

mattallty avatar Jun 03 '20 07:06 mattallty

i was using node 14. version.. when changed it to node 12. LTS problem was solved caporal version 1.4.0

harikrishnan-a-k avatar Jun 03 '20 08:06 harikrishnan-a-k

I have the same issue. In my company, we switched to v14 LTS, and this warning started to appear. Anything that can help to remove it? It apparently comes from [email protected]

Thanks a lot

MatteoGabriele avatar Aug 26 '21 10:08 MatteoGabriele