ProgressNS / sidekick-feedback

This repository is for feedback regarding NativeScript Sidekick. Use the issues system here to submit feature requests or vote for existing ones.
45 stars 9 forks source link

Listed components are required NativeScript CLI 4.0.2 #198

Closed b4rtt closed 6 years ago

b4rtt commented 6 years ago

Please, provide the details below:

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

NO

Tell us about the problem

When I try to start Sidekick I get this error. NativeScript CLI 4.0.2 + (detected version is 4.0.0) but my npm nativescript cli is 4.0.2

Which platform(s) does the issue occur on?

Both
Windows/macOS/Linux/Multiple (if applicable, tell us the specific version of the platform)

Provide the following version numbers that the issue occurs with:

Does this issue happen every time?

Yes

Send the client logs

Adding to process.env:
 { ANDROID_HOME: '/usr/local/share/android-sdk',
  SHELL: '/bin/bash',
  TMPDIR: '/var/folders/44/zqcw57cn1nxfh_np907x5n7h0000gn/T/',
  Apple_PubSub_Socket_Render: '/private/tmp/com.apple.launchd.jNfhWttEyY/Render',
  USER: 'roman',
  SSH_AUTH_SOCK: '/private/tmp/com.apple.launchd.PpEbRcmxha/Listeners',
  __CF_USER_TEXT_ENCODING: '0x1F5:0x1D:0x38',
  GOOGLE_API_KEY: 'AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q',
  PATH: '/usr/local/opt/node@8/bin:/usr/local/opt/node@6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:',
  PWD: '/',
  JAVA_HOME: '/Library/Java/Home',
  LANG: 'en_US.UTF-8',
  XPC_FLAGS: '0x0',
  XPC_SERVICE_NAME: 'com.progress.nativescriptsidekick.33092',
  HOME: '/Users/roman',
  SHLVL: '2',
  LOGNAME: 'roman',
  _: '/usr/local/opt/node@8/bin/node' }
[2018-05-27T09:31:42.313Z]: UI Receiving Ready - {"uiData":{"readyForReceiving":true,"readyForSending":false,"sendRequestsCache":7},"windowHref":"file:///Applications/NativeScript%20Sidekick.app/Contents/Resources/app.asar/ui/splash-screen.html","shellData":{"moduleEventsCache":0,"sendRequestsCache":0,"windows":[{"type":"splash-screen","ready":false},{"type":"index","ready":false}],"shellReady":false,"allWindowsReady":false}}
[2018-05-27T09:31:42.314Z]: Shell Window Ready - {"windowType":"splash-screen","shellData":{"moduleEventsCache":0,"sendRequestsCache":0,"windows":[{"type":"splash-screen","ready":true},{"type":"index","ready":false}],"shellReady":false,"allWindowsReady":false}}
[2018-05-27T09:31:42.333Z]: UI Receiving Ready - {"uiData":{"readyForReceiving":true,"readyForSending":false,"sendRequestsCache":7},"windowHref":"file:///Applications/NativeScript%20Sidekick.app/Contents/Resources/app.asar/ui/index.html","shellData":{"moduleEventsCache":0,"sendRequestsCache":0,"windows":[{"type":"splash-screen","ready":true},{"type":"index","ready":false}],"shellReady":false,"allWindowsReady":false}}
[2018-05-27T09:31:42.334Z]: Shell Window Ready - {"windowType":"index","shellData":{"moduleEventsCache":0,"sendRequestsCache":0,"windows":[{"type":"splash-screen","ready":true},{"type":"index","ready":true}],"shellReady":false,"allWindowsReady":true}}
[2018-05-27T09:31:44.249Z]: Shell Ready - {"shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":293,"windows":[{"type":"splash-screen","ready":true},{"type":"index","ready":true}],"shellReady":true,"allWindowsReady":true}}
[2018-05-27T09:31:44.819Z]: UI Sending Ready - {"uiData":{"readyForReceiving":true,"readyForSending":true,"sendRequestsCache":65},"windowHref":"file:///Applications/NativeScript%20Sidekick.app/Contents/Resources/app.asar/ui/splash-screen.html","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":0,"windows":[{"type":"splash-screen","ready":true},{"type":"index","ready":true}],"shellReady":true,"allWindowsReady":true}}
[2018-05-27T09:31:45.383Z]: UI Sending Ready - {"uiData":{"readyForReceiving":true,"readyForSending":true,"sendRequestsCache":135},"windowHref":"file:///Applications/NativeScript%20Sidekick.app/Contents/Resources/app.asar/ui/index.html","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":0,"windows":[{"type":"splash-screen","ready":true},{"type":"index","ready":true}],"shellReady":true,"allWindowsReady":true}}
[18-05-27 11:31:43.784] (Info) ab.actionsLogger.shell.appVersion - {"name":"NativeScript Sidekick","version":"1.10.1-v.2018.5.24.5"}
[18-05-27 11:31:43.789] (Info) ab.addPage.shell.appFlavor - No value provided
[18-05-27 11:31:43.799] (Info) ab.analytics.shell.clientId - No value provided
[18-05-27 11:31:43.842] (Info) ab.appContext.shell.appContext - No value provided
[18-05-27 11:31:43.876] (Info) ab.appValidityWatcher.shell.isAppValid - No value provided
[18-05-27 11:31:43.913] (Info) ab.buildDeploy.shell.buildConfigChanged - {"platform":null,"buildType":"Cloud","buildConfig":"Debug","emulatorDevice":"nexus5","isClean":false,"useSharedCloud":false,"webpack":{"isWebpack":false,"env":{"uglify":true,"snapshot":true,"aot":true}}}
[18-05-27 11:31:43.917] (Info) ab.buildDeploy.shell.isWebpackSupported - No value provided
[18-05-27 11:31:43.919] (Info) ab.buildDeploy.shell.isAOTSupported - No value provided
[18-05-27 11:31:43.920] (Info) ab.buildDeploy.shell.canChangeWebpackOption - true
[18-05-27 11:31:43.923] (Info) ab.buildDeploy.shell.isSharedCloudFlagSupported - No value provided
[18-05-27 11:31:43.934] (Info) ab.certificateStore.shell.isSupported - true
[18-05-27 11:31:43.945] (Info) ab.codeSigning.shell.codeSigningChanged - {"ios":{},"android":{}}
[18-05-27 11:31:43.951] (Info) ab.codeSigning.shell.csrStore - {}
[18-05-27 11:31:43.972] (Info) ab.createApp.shell.lastUsedAppDirectory - {"appDirectory":""}
[18-05-27 11:31:43.990] (Info) ab.editor.shell.editorSettings - {"editorPath":"","args":"{projectPath}"}
[18-05-27 11:31:44.002] (Info) ab.kinveyAuth.shell.configData - {"shouldConfigure":false}
[18-05-27 11:31:44.004] (Info) ab.kinveyAuth.shell.checkEula - No value provided
[18-05-27 11:31:44.067] (Info) ab.privacy.shell.privacyConfig - {"skipTracking":true,"privacyPolicyUrl":"https://www.progress.com/legal/privacy-policy","intercomPrivacyPolicyUrl":"https://www.intercom.com/terms-and-policies#privacy","forgetMeUrl":"https://app.onetrust.com/app/#/webform/65e969b1-9755-4cb6-adbb-0ae5939fb132","unsubscribeUrl":"https://forms.progress.com/emailoptin","partnersUrl":"https://www.progress.com/partners/partner-directory","privacyInfoShown":false,"emailsAccepted":false}
[18-05-27 11:31:44.070] (Info) ab.proxy.shell.proxySettings - {}
[18-05-27 11:31:44.090] (Info) ab.recentApps.shell.recentAppsListUpdated - {"recentAppsList":[]}
[18-05-27 11:31:44.096] (Info) ab.subscriptions.shell.usageInfo - No value provided
[18-05-27 11:31:44.101] (Info) ab.subscriptions.shell.accountFeatures - []
[18-05-27 11:31:44.237] (Info) ab.userAccounts.shell.userAccountList - []
[18-05-27 11:31:44.242] (Info) ab.userAccounts.shell.activeUserAccount - No value provided
[18-05-27 11:31:44.450] (Info) ab.autoUpdate.shell.updates - {"eventName":"checking-for-update","data":{"sender":{"_events":{"checking-for-update":[null,null],"update-available":[null,null],"update-downloaded":[null,null],"update-not-available":[null,null],"error":[null,null]},"_eventsCount":5}},"message":"Checking for updates..."}
[18-05-27 11:31:44.923] (Info) ab.autoUpdate.shell.updates - {"eventName":"update-not-available","data":{"sender":{"_events":{"checking-for-update":[null,null],"update-available":[null,null],"update-downloaded":[null,null],"update-not-available":[null,null],"error":[null,null]},"_eventsCount":5}},"message":"No updates available."}
[18-05-27 11:31:45.408] (Info) ab.analytics.ui.setVersion - 1.10.1-v.2018.5.24.5
[18-05-27 11:31:45.415] (Info) ab.buildDeploy.ui.pendingRequests - No value provided
[18-05-27 11:31:45.572] (Info) ab.vueService.ui.routeChanged - {"path":"/recent-apps","query":{"back":true}}
[18-05-27 11:31:46.394] (Info) ab.tnsDoctor.shell.checkDependencies - {"node":{"name":"NodeJS","version":"8.11.2","minVersion":"6.0.0","preferredVersion":"6.11.4","isMet":true,"isAutoFixSupported":false},"npm":{"name":"npm","version":"5.6.0","isMet":true,"isAutoFixSupported":false},"tns":{"name":"NativeScript CLI","version":"4.0.0","minVersion":"4.0.2","preferredVersion":"latest","isMet":false,"isAutoFixSupported":false}}
[18-05-27 11:31:53.029] (Info) ab.tnsDoctor.shell.checkLocalBuild - {"iOS":{"canExecuteLocalBuild":true,"warnings":[]},"Android":{"canExecuteLocalBuild":true,"warnings":[]}}
b4rtt commented 6 years ago
npm list -g
/Users/roman/.npm-global/lib
├── n@2.1.11
└─┬ nativescript@4.0.2
tsvetie commented 6 years ago

Hi @b4rtt,

Can you tell me a bit more about how you installed NodeJS and how you installed NS CLI?

Additionally, it would be great if you can start Sidekick, wait 5 minutes and send me the new log files that were created - there are some things that are missing from the ones you sent and I just want to check whether it is because you quit Sidekick quickly or the code was not actually executed.

One more thing - can you install global-modules-path somewhere (https://github.com/rosen-vladimirov/global-modules-path) and then execute the following in the terminal and send me the output of the command:

> node
> require("global-modules-path").getPath("nativescript");
[result]
> process.env.PATH
[result]
tsvetie commented 6 years ago

Edit: The actual command that I would like you to try is rather:

> node
> require("global-modules-path").getPath("nativescript", "tns");
[result]
> process.env.PATH
[result]
b4rtt commented 6 years ago

I did it. Logs and console output is bellow. Thank you so much for your time! <3

[18-05-30 10:06:05.043] (Info) ab.actionsLogger.shell.appVersion - {"name":"NativeScript Sidekick","version":"1.10.1-v.2018.5.24.5"}
[18-05-30 10:06:05.047] (Info) ab.addPage.shell.appFlavor - No value provided
[18-05-30 10:06:05.059] (Info) ab.analytics.shell.clientId - No value provided
[18-05-30 10:06:05.099] (Info) ab.appContext.shell.appContext - No value provided
[18-05-30 10:06:05.133] (Info) ab.appValidityWatcher.shell.isAppValid - No value provided
[18-05-30 10:06:05.170] (Info) ab.buildDeploy.shell.buildConfigChanged - {"platform":null,"buildType":"Cloud","buildConfig":"Debug","emulatorDevice":"nexus5","isClean":false,"useSharedCloud":false,"webpack":{"isWebpack":false,"env":{"uglify":true,"snapshot":true,"aot":true}}}
[18-05-30 10:06:05.174] (Info) ab.buildDeploy.shell.isWebpackSupported - No value provided
[18-05-30 10:06:05.176] (Info) ab.buildDeploy.shell.isAOTSupported - No value provided
[18-05-30 10:06:05.177] (Info) ab.buildDeploy.shell.canChangeWebpackOption - true
[18-05-30 10:06:05.180] (Info) ab.buildDeploy.shell.isSharedCloudFlagSupported - No value provided
[18-05-30 10:06:05.190] (Info) ab.certificateStore.shell.isSupported - true
[18-05-30 10:06:05.201] (Info) ab.codeSigning.shell.codeSigningChanged - {"ios":{},"android":{}}
[18-05-30 10:06:05.205] (Info) ab.codeSigning.shell.csrStore - {}
[18-05-30 10:06:05.217] (Info) ab.createApp.shell.lastUsedAppDirectory - {"appDirectory":""}
[18-05-30 10:06:05.246] (Info) ab.editor.shell.editorSettings - {"editorPath":"","args":"{projectPath}"}
[18-05-30 10:06:05.256] (Info) ab.kinveyAuth.shell.configData - {"shouldConfigure":false}
[18-05-30 10:06:05.260] (Info) ab.kinveyAuth.shell.checkEula - No value provided
[18-05-30 10:06:05.316] (Info) ab.privacy.shell.privacyConfig - {"skipTracking":true,"privacyPolicyUrl":"https://www.progress.com/legal/privacy-policy","intercomPrivacyPolicyUrl":"https://www.intercom.com/terms-and-policies#privacy","forgetMeUrl":"https://app.onetrust.com/app/#/webform/65e969b1-9755-4cb6-adbb-0ae5939fb132","unsubscribeUrl":"https://forms.progress.com/emailoptin","partnersUrl":"https://www.progress.com/partners/partner-directory","privacyInfoShown":false,"emailsAccepted":false}
[18-05-30 10:06:05.319] (Info) ab.proxy.shell.proxySettings - {}
[18-05-30 10:06:05.335] (Info) ab.recentApps.shell.recentAppsListUpdated - {"recentAppsList":[]}
[18-05-30 10:06:05.340] (Info) ab.subscriptions.shell.usageInfo - No value provided
[18-05-30 10:06:05.343] (Info) ab.subscriptions.shell.accountFeatures - []
[18-05-30 10:06:05.485] (Info) ab.userAccounts.shell.userAccountList - []
[18-05-30 10:06:05.489] (Info) ab.userAccounts.shell.activeUserAccount - No value provided
[18-05-30 10:06:05.758] (Info) ab.autoUpdate.shell.updates - {"eventName":"checking-for-update","data":{"sender":{"_events":{"checking-for-update":[null,null],"update-available":[null,null],"update-downloaded":[null,null],"update-not-available":[null,null],"error":[null,null]},"_eventsCount":5}},"message":"Checking for updates..."}
[18-05-30 10:06:06.117] (Info) ab.autoUpdate.shell.updates - {"eventName":"update-not-available","data":{"sender":{"_events":{"checking-for-update":[null,null],"update-available":[null,null],"update-downloaded":[null,null],"update-not-available":[null,null],"error":[null,null]},"_eventsCount":5}},"message":"No updates available."}
[18-05-30 10:06:06.831] (Info) ab.analytics.ui.setVersion - 1.10.1-v.2018.5.24.5
[18-05-30 10:06:06.842] (Info) ab.buildDeploy.ui.pendingRequests - No value provided
[18-05-30 10:06:07.037] (Info) ab.vueService.ui.routeChanged - {"path":"/recent-apps","query":{"back":true}}
[18-05-30 10:06:08.009] (Info) ab.tnsDoctor.shell.checkDependencies - {"node":{"name":"NodeJS","version":"8.11.2","minVersion":"6.0.0","preferredVersion":"6.11.4","isMet":true,"isAutoFixSupported":false},"npm":{"name":"npm","version":"5.6.0","isMet":true,"isAutoFixSupported":false},"tns":{"name":"NativeScript CLI","version":"4.0.0","minVersion":"4.0.2","preferredVersion":"latest","isMet":false,"isAutoFixSupported":false}}
Adding to process.env:
 { ANDROID_HOME: '/usr/local/share/android-sdk',
  SHELL: '/bin/bash',
  TMPDIR: '/var/folders/44/zqcw57cn1nxfh_np907x5n7h0000gn/T/',
  Apple_PubSub_Socket_Render: '/private/tmp/com.apple.launchd.7v52epsvFV/Render',
  USER: 'roman',
  SSH_AUTH_SOCK: '/private/tmp/com.apple.launchd.p73cRIZEzn/Listeners',
  __CF_USER_TEXT_ENCODING: '0x1F5:0x1D:0x38',
  GOOGLE_API_KEY: 'AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q',
  PATH: '/usr/local/opt/node@8/bin:/usr/local/opt/node@6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:',
  PWD: '/',
  JAVA_HOME: '/Library/Java/Home',
  LANG: 'en_US.UTF-8',
  XPC_FLAGS: '0x0',
  XPC_SERVICE_NAME: 'com.progress.nativescriptsidekick.33092',
  HOME: '/Users/roman',
  SHLVL: '2',
  LOGNAME: 'roman',
  _: '/usr/local/opt/node@8/bin/node' }
[2018-05-30T08:06:03.255Z]: UI Receiving Ready - {"uiData":{"readyForReceiving":true,"readyForSending":false,"sendRequestsCache":7},"windowHref":"file:///Applications/NativeScript%20Sidekick.app/Contents/Resources/app.asar/ui/index.html","shellData":{"moduleEventsCache":0,"sendRequestsCache":0,"windows":[{"type":"splash-screen","ready":false},{"type":"index","ready":false}],"shellReady":false,"allWindowsReady":false}}
[2018-05-30T08:06:03.257Z]: Shell Window Ready - {"windowType":"index","shellData":{"moduleEventsCache":0,"sendRequestsCache":0,"windows":[{"type":"splash-screen","ready":false},{"type":"index","ready":true}],"shellReady":false,"allWindowsReady":false}}
[2018-05-30T08:06:03.258Z]: UI Receiving Ready - {"uiData":{"readyForReceiving":true,"readyForSending":false,"sendRequestsCache":7},"windowHref":"file:///Applications/NativeScript%20Sidekick.app/Contents/Resources/app.asar/ui/splash-screen.html","shellData":{"moduleEventsCache":0,"sendRequestsCache":0,"windows":[{"type":"splash-screen","ready":false},{"type":"index","ready":true}],"shellReady":false,"allWindowsReady":false}}
[2018-05-30T08:06:03.258Z]: Shell Window Ready - {"windowType":"splash-screen","shellData":{"moduleEventsCache":0,"sendRequestsCache":0,"windows":[{"type":"splash-screen","ready":true},{"type":"index","ready":true}],"shellReady":false,"allWindowsReady":true}}
[2018-05-30T08:06:05.500Z]: Shell Ready - {"shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":293,"windows":[{"type":"splash-screen","ready":true},{"type":"index","ready":true}],"shellReady":true,"allWindowsReady":true}}
[2018-05-30T08:06:06.138Z]: UI Sending Ready - {"uiData":{"readyForReceiving":true,"readyForSending":true,"sendRequestsCache":65},"windowHref":"file:///Applications/NativeScript%20Sidekick.app/Contents/Resources/app.asar/ui/splash-screen.html","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":0,"windows":[{"type":"splash-screen","ready":true},{"type":"index","ready":true}],"shellReady":true,"allWindowsReady":true}}
[2018-05-30T08:06:06.815Z]: UI Sending Ready - {"uiData":{"readyForReceiving":true,"readyForSending":true,"sendRequestsCache":135},"windowHref":"file:///Applications/NativeScript%20Sidekick.app/Contents/Resources/app.asar/ui/index.html","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":0,"windows":[{"type":"splash-screen","ready":true},{"type":"index","ready":true}],"shellReady":true,"allWindowsReady":true}}
Roman-MacBook-Air:testing roman$ node
> require("global-modules-path").getPath("nativescript", "tns");
'/usr/local/lib/node_modules/nativescript'
> process.env.PATH
'/usr/local/opt/node@8/bin:/usr/local/opt/node@6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin'
tsvetie commented 6 years ago

Hey @b4rtt,

I suppose you noticed as well that you have two installations of NS CLI:

Can you verify that this is correct? At this point, can you tell me how you installed NodeJS and NS CLI (both installations)?