sidekick-feedback icon indicating copy to clipboard operation
sidekick-feedback copied to clipboard

App Fails to launch

Open MatthewAlner opened this issue 7 years ago • 3 comments

Please, provide the details below:

App Fails to launch

Did you verify whether this issue has already been reported here?

Yes

Tell us about the problem

App is stuck loading indefinitely displays a notification "communication with the child process is ended" with this error in the logs

[18-11-28 15:50:38.516] (Error) ab.childProcessCommunication.shell.cliStderr - internal/modules/cjs/loader.js:630
    throw new ERR_INVALID_ARG_TYPE('id', 'string', id);

Which platform(s) does the issue occur on?

macOS 10.14.1 Mojave

Provide the following version numbers that the issue occurs with:

  • NativeScript Sidekick Desktop or Sidekick for Visual Studio: Version: 1.14.1-v.2018.11.23.3 (latest)
  • NativeScript CLI: 5.0.1

Tell us how to recreate the issue in as much detail as possible

  1. Start the application

Does this issue happen every time?

Yes

Send the client logs

main_18-11-28_15-50-35.081.log

MatthewAlner avatar Nov 28 '18 16:11 MatthewAlner

@MatthewAlner After trying many different things, the following combination got the app to launch for me:

#1 - Don't use yarn global add nativescript, only use npm i -g nativescript. For some reason this version of NativeScript is not working with yarn global add. I'm not 100% sure why. #2 - Make sure you have the latest version of xcode, and once you've done that, execute sudo xcode-select --reset to ensure that the build tools are targeting the correct path.

garrensweet avatar Nov 29 '18 19:11 garrensweet

@garrensweet, thank you for sharing your experience and a viable workaround to the issue.

We investigated this further and it appears that we have broken the yarn support. Now that you have brought this to our attention, we will make sure to fix it for the next version of Sidekick. In the meantime, using npm to install the NativeScript CLI is indeed a possible alternative.

@garrensweet, regarding the second point, I have forwarded this information to the NativeScript CLI team and they will investigate it further. Thank you once again!

ggarabedian avatar Nov 30 '18 15:11 ggarabedian

I just launched Sidekick and it says "Listed components are required: npm" Does this mean that yarn still isn't supported in Sidekick?

toddsampson avatar Jan 20 '20 17:01 toddsampson