Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Error: launch.js line 51. this.log undefined. #270

Open
5 tasks
tommulkins opened this issue Apr 20, 2020 · 4 comments
Open
5 tasks

Unhandled Error: launch.js line 51. this.log undefined. #270

tommulkins opened this issue Apr 20, 2020 · 4 comments

Comments

@tommulkins
Copy link

Command ran

Running command:

/Users/tommulkins/Projects/Worthy Financial/worthy-frontend/src-cordova/node_modules/ios-sim/bin/ios-sim launch /Users/tommulkins/Projects/Worthy Financial/worthy-frontend/src-cordova/platforms/ios/build/emulator/Worthy Financial - Earn 5 percent return on your savings.app --devicetypeid com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-, 13.4 --log /Users/tommulkins/Projects/Worthy Financial/worthy-frontend/src-cordova/platforms/ios/cordova/console.log --exit

Expected behavior

Successfully deploys to ios simulator.

Actual behavior.

Exception thrown:

Error: Unhandled error. ('[ios-sim] /Users/tommulkins/Projects/Worthy Financial/worthy-frontend/src-cordova/node_modules/ios-sim/src/commands/launch.js:51\n' +
  '          this.log(`logPath: ${path.resolve(flags.log)}`)\n' +
  '               ^\n' +
  '\n' +
  "TypeError: Cannot read property 'log' of undefined\n" +

Steps to reproduce the problem

Build and deploy cordova app using ios-sim 9.0.0

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
Software:

    System Software Overview:

      System Version: macOS 10.15.4 (19E287)
      Kernel Version: Darwin 19.4.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Computer Name: Tom’s MacBook Pro
      User Name: Tom Mulkins (tommulkins)
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled
      Time since boot: 1 day 23:20
  • 2. ios-sim --version
ios-sim/9.0.0 darwin-x64 node-v12.13.1
  • 3. xcodebuild -version
Xcode 11.4.1
Build version 11E503a
  • 4. xcode-select --print-path

/Applications/Xcode.app/Contents/Developer

  • 5. node --version
    v12.13.1
@reztin
Copy link

reztin commented Jul 16, 2020

Same here

@kreavie
Copy link

kreavie commented Oct 8, 2020

Same here as well

@raphaelarias
Copy link

@tommulkins have you found a workaround?

@tommulkins
Copy link
Author

@tommulkins have you found a workaround?

I just downgraded to 8.0.2 and have been using that ever since.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants