ios-control / ios-sim

Command-line application launcher for the iOS Simulator
Apache License 2.0
1.49k stars 253 forks source link

BUG: `npm list` errors on this module on global mode #275

Open dalisoft opened 3 years ago

dalisoft commented 3 years ago

Include the command line arguments you used for ios-sim. npm list --depth=0 -g

Expected behavior

❯ npm ls --depth=0 -g
/Users/dalisoft/.npm-global/lib
├── @nodelib/fs.scandir@2.1.3
├── @nodelib/fs.walk@1.2.4
├── @oclif/command@1.8.0
├── native-run@1.3.0
├── node-gyp@7.1.2
└── npm@6.14.10

No errors on listing global modules

Actual behavior.

❯ npm ls --depth=0 -g
/Users/dalisoft/.npm-global/lib
├── ios-sim@9.0.0
├── native-run@1.3.0
├── node-gyp@7.1.2
└── npm@6.14.10

npm ERR! missing: ansi-regex@^4.1.0, required by strip-ansi@5.2.0
npm ERR! missing: strip-ansi@^6.0.0, required by @oclif/plugin-help@3.2.0
npm ERR! missing: strip-ansi@^6.0.0, required by string-width@4.2.0

There error about this and i cannot automatize my ansible script because of error, it required me remove my 25+ global modules to understand which modules are broking my playbook, if this can be fixed, please fix.

Steps to reproduce the problem

  1. npm install -g ios-sim
  2. npm list --depth=0 -g

System Specs

Please run the commands below in your Terminal.app and include it in the issue. Check when done and include results below.