Git Product home page Git Product logo

Comments (4)

mykola-mokhnach avatar mykola-mokhnach commented on July 19, 2024
_.includes(undefined, 'yolo') === false
_.includes(null, 'yolo') === false
_.includes('y', 'yolo') === true

IMHO everything works as expected

from appium-ios-simulator.

KostromaAleksey avatar KostromaAleksey commented on July 19, 2024

But, e contains: (Error running 'getenv': An error was encountered processing the command (domain = com.apple.CoreSimulator.SimError, code = 164):
Unable to getenv ("dummy") while not booting or booted. Current state: Shutdown)

e.stderr returns undefined, and the result is false, although it should have been true.

This error resulted in the inability to start the simulator in headless mode (isHeadless = true).

Once again, I get:
e = Error running 'getenv': An error was encountered processing the command (domain = com.apple.CoreSimulator.SimError, code = 164):
Unable to getenv ("dummy") while not booting or booted. Current state: Shutdown

e. stderr = undefined

e.toString() = e = Error running 'getenv': An error was encountered processing the command (domain = com.apple.CoreSimulator.SimError, code = 164):
Unable to getenv ("dummy") while not booting or booted. Current state: Shutdown

from appium-ios-simulator.

mykola-mokhnach avatar mykola-mokhnach commented on July 19, 2024

Try appium@beta. The fact e.stderr is undefined is due to a bug in node-simctl dependency.

from appium-ios-simulator.

KostromaAleksey avatar KostromaAleksey commented on July 19, 2024

Yes, there is no bug in appium 1.19.0-beta.0.

Thanks for the support!

from appium-ios-simulator.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.