Skip to content

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

@dalisoft

Description

@dalisoft

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.

  • 1. system_profiler SPSoftwareDataType
  • 2. ios-sim 9.0.0
  • 3. xcodebuild -version
  • 4. xcode-select --print-path
  • 5. node v15.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions