Closed daolou closed 2 years ago
I had this problem, it stemmed from Visual Studio Code. I was writing "const" but it took that as autocomplete or something as "cons" so it added "import cons from "consolidate";" to the top of my file. I finally figured it out by deleting the consolidate folder from node_modules, it then pointed to which component file was showing "import cons from "consolidate";" at the top.
So delete consolidate folder from node_modules, find what file is asking for "import cons from "consolidate";", delete that line. And if you're so inclined do NPM install again.
https://bundlephobia.com/result?p=@jsany/cli-kit
Stacktrace:
this error due to badge throw bundlephobia inaccessible
detail: https://github.com/pastelsky/bundlephobia/issues/387