Type of issue
I can't start yo because it uses insight, which in turn uses os-name, which in turn uses macos-release.
Since the system is not known, macos-release crashes with an error. Macos-release made a fix, but now I need to update it everywhere as a dependency.
My environment
- OS version/details:
macos monterey
- Node version:
14.16.0 (run node --version in your terminal)
- Version of yo :
4.3.0 (run yo --version in your terminal)
Command line output
const [name, version] = nameMap.get(release);
^
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
at macosRelease (/Users/dimensi/projects/akit/node_modules/macos-release/index.js:26:26)
at osName (/Users/dimensi/projects/akit/node_modules/os-name/index.js:21:18)
at new Insight (/Users/dimensi/projects/akit/node_modules/insight/lib/index.js:37:13)
at Object.<anonymous> (/Users/dimensi/projects/akit/node_modules/yo/lib/cli.js:54:17)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47
Type of issue
I can't start yo because it uses insight, which in turn uses os-name, which in turn uses macos-release.
Since the system is not known, macos-release crashes with an error. Macos-release made a fix, but now I need to update it everywhere as a dependency.
My environment
macos monterey14.16.0(runnode --versionin your terminal)4.3.0(runyo --versionin your terminal)Command line output