CLI 更新后 Nativescript Sidekick 无法启动
Nativescript Sidekick won't start after CLI update
我发现了一些重复项,但这些对我不起作用:
NativeScript Sidekick won't run since CLI 3.2.1 update doesn't work
https://discourse.nativescript.org/t/tns-update-3-2-1-not-working/2766/4
我目前正在尝试启动 Nativescript Sidekick,但它总是提示我使用命令
更新 nativescript CLI
npm i -g nativescript@latest
这不起作用。
我也试过卸载、清除缓存并重新安装。
这也没有用。
有什么建议吗?
日志:
Main
[18-12-28 16:54:16.851] (Info) ab.actionsLogger.shell.appVersion -
{"name":"NativeScript Sidekick","version":"1.14.1-v.2018.11.23.3"}
[18-12-28 16:54:16.864] (Info) ab.analytics.shell.clientId -
2084238102.1530883066 [18-12-28 16:54:16.878] (Info) ab.appContext.shell.appContext - No value provided [18-12-28
16:54:16.879] (Info) ab.appContext.shell.projectType - No value
provided [18-12-28 16:54:16.913] (Info)
ab.appValidityWatcher.shell.isAppValid - No value provided [18-12-28
16:54:16.931] (Info) ab.autoUpdate.shell.updates -
{"eventName":"checking-for-update","message":"Checking for
updates..."} [18-12-28 16:54:16.950] (Info)
ab.buildDeploy.shell.buildConfigChanged -
{"platform":null,"buildType":"Cloud","buildConfig":"Debug","isClean":false,"useSharedCloud":false,"webpack":{"isWebpack":false,"env":{"uglify":true,"snapshot":true,"aot":{"debug":false,"release":true},"sourceMap":false}},"isHmr":false}
[18-12-28 16:54:16.954] (Info) ab.buildDeploy.shell.isWebpackSupported
- No value provided [18-12-28 16:54:16.957] (Info) ab.buildDeploy.shell.isWebpackRequired - No value provided [18-12-28
16:54:16.959] (Info) ab.buildDeploy.shell.isAOTSupported - No value
provided [18-12-28 16:54:16.960] (Info)
ab.buildDeploy.shell.isSourceMapsSupported - No value provided
[18-12-28 16:54:16.961] (Info)
ab.buildDeploy.shell.canChangeWebpackOption - true [18-12-28
16:54:16.962] (Info) ab.buildDeploy.shell.isHMRSupported - No value
provided [18-12-28 16:54:16.966] (Info)
ab.buildDeploy.shell.isSharedCloudFlagSupported - No value provided
[18-12-28 16:54:16.975] (Info) ab.certificateStore.shell.isSupported -
true [18-12-28 16:54:16.987] (Info)
ab.codeSigning.shell.codeSigningChanged - {"ios":{},"android":{}}
[18-12-28 16:54:16.991] (Info) ab.codeSigning.shell.csrStore - {}
[18-12-28 16:54:17.004] (Info) ab.createApp.shell.lastUsedAppDirectory
- {"appDirectory":"D:\Projects"} [18-12-28 16:54:17.025] (Info) ab.editor.shell.editorSettings - {"editorPath":"C:\Program
Files\Microsoft VS Code\Code.exe","args":"{projectPath}"} [18-12-28
16:54:17.040] (Info) ab.kinveyAuth.shell.configData -
{"shouldConfigure":false} [18-12-28 16:54:17.118] (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/7897e80a-b8a4-4797-883a-bdacfe1ab8e4","unsubscribeUrl":"https://forms.progress.com/emailoptin","partnersUrl":"https://www.progress.com/partners/partner-directory","privacyInfoShown":true,"emailsAccepted":false}
[18-12-28 16:54:17.121] (Info) ab.proxy.shell.proxySettings - {}
[18-12-28 16:54:17.144] (Info) ab.subscriptions.shell.usageInfo - No
value provided [18-12-28 16:54:17.146] (Info)
ab.subscriptions.shell.accountFeatures - [] [18-12-28 16:54:17.235]
(Info) ab.userAccounts.shell.userAccountList - [] [18-12-28
16:54:17.237] (Info) ab.userAccounts.shell.activeUserAccount - No
value provided [18-12-28 16:54:18.898] (Info)
ab.analytics.ui.setVersion - {"version":"1.14.1-v.2018.11.23.3"}
[18-12-28 16:54:18.901] (Info) ab.buildDeploy.ui.pendingRequests - No
value provided [18-12-28 16:54:18.964] (Info)
ab.vueService.ui.routeChanged -
{"path":"/recent-apps","query":{"back":true}} [18-12-28 16:54:19.068]
(Info) ab.connectedDevices.ui.devicesListChanged - {} [18-12-28
16:54:26.253] (Info) ab.autoUpdate.shell.updates -
{"eventName":"update-not-available","message":"No updates available."}
[18-12-28 16:54:32.087] (Info) ab.tnsDoctor.shell.checkLocalBuild -
{"iOS":{"canExecuteLocalBuild":false,"warnings":[]},"Android":{"canExecuteLocalBuild":true,"warnings":[]}}
[18-12-28 16:54:37.873] (Info) ab.tnsDoctor.shell.checkDependencies -
{"node":{"name":"NodeJS","version":"8.11.3","versionRange":">=8.0.0
<10.6.0 ||
=10.10.0","versionToInstall":"8.11.3","isMet":true,"isAutoFixSupported":false},"npm":{"name":"npm","version":"6.4.1","isMet":true,"isAutoFixSupported":false},"tns":{"name":"NativeScript
CLI","version":null,"versionRange":">=5.0.1","versionToInstall":"latest","isMet":false,"isAutoFixSupported":true}}
控制台:
ENV: {"ALLUSERSPROFILE":"C:\ProgramData","ANDROID_AVD_HOME":"C:\Users\run_j\.android\avd","ANDROID_HOME":"C:\Users\run_j\AppData\Local\Android\Sdk","ANDROID_SDK_ROOT": "C:\Users\run_j\AppData\Local\Android\Sdk","APPDATA":"C:\Users\run_j\AppData\Roaming","ChocolateyInstall":"C:\ProgramData\chocolatey","ChocolateyLastPathUpdate":"周五
11 月 9 日 12:41:32
2018","CLASSPATH":".;","CommonProgramFiles":"C:\程序Files\Common
文件","CommonProgramFiles(x86)":"C:\Program Files (x86)\Common
文件","CommonProgramW6432":"C:\Program Files\Common
文件","COMPUTERNAME":"LAPTOP-23SLBRUJ","ComSpec":"C:\WINDOWS\system32\cmd.exe","DriverData":"C:\Windows\System32\Drivers\DriverData","DXROOT":"D:\Programs\SandCastle\" ,"FPS_BROWSER_APP_PROFILE_STRING":"互联网
Explorer","FPS_BROWSER_USER_PROFILE_STRING":"Default","FSHARPINSTALLDIR":"C:\Program
文件 (x86)\Microsoft
SDKs\F#\10.1\Framework\v4.0\","GOOGLE_API_KEY":"AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q","GTK_BASEPATH":"C:\Program
文件
(x86)\GtkSharp.12\","HOMEDRIVE":"C:","HOMEPATH":"\Users\run_j","JAVA_HOME":"C:\Program
Files\Java\jdk1.8.0_191","LOCALAPPDATA":"C:\Users\run_j\AppData\Local","LOGONSERVER":"\\LAPTOP-23SLBRUJ","NUMBER_OF_PROCESSORS":"8" ,"OneDrive":"C:\Users\run_j\OneDrive","OneDriveConsumer":"C:\Users\run_j\OneDrive","OS":"Windows_NT","Path":"C:\ProgramData\Oracle\Java\javapath;C:\程序
文件 (x86)\Intel\iCLS 客户端\;C:\Program 文件\Intel\iCLS
Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
文件
(x86)\GtkSharp.12\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\ ;D:\Programs\QuickTime\QTSystem\;C:\程序
文件 (x86)\Intel\Intel(R) 管理引擎
Components\DAL;C:\Program Files\Intel\Intel(R) 管理引擎
Components\DAL;C:\Program Files (x86)\Intel\Intel(R) 管理
引擎 Components\IPT;C:\Program Files\Intel\Intel(R) 管理
引擎 Components\IPT;C:\Program Files
(x86)\Skype\Phone\;C:\Users\run_j\.dnx\bin;C:\程序
Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL
Server0\Tools\Binn\;C:\Program Files
(x86)\Graphviz2.38\bin;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\程序
Files\PuTTY\;C:\Program Files\dotnet\;C:\Program Files
(x86)\英伟达
Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\ ;\"C:\ProgramData\Oracle\Java\javapath;C:\程序
文件 (x86)\Intel\iCLS 客户端\;C:\Program 文件\Intel\iCLS
Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
文件
(x86)\GtkSharp.12\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\ ;D:\Programs\QuickTime\QTSystem\;C:\程序
文件 (x86)\Intel\Intel(R) 管理引擎
Components\DAL;C:\Program Files\Intel\Intel(R) 管理引擎
Components\DAL;C:\Program Files (x86)\Intel\Intel(R) 管理
引擎 Components\IPT;C:\Program Files\Intel\Intel(R) 管理
引擎 Components\IPT;C:\Program Files
(x86)\Skype\Phone\;C:\Users\run_j\.dnx\bin;C:\程序
Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL
Server0\Tools\Binn\;C:\Program Files
(x86)\Graphviz2.38\bin;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\程序
Files\PuTTY\;C:\Program Files\dotnet\;C:\Program Files
(x86)\英伟达
Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\ ;\"C:\ProgramData\Oracle\Java\javapath;C:\程序
文件 (x86)\Intel\iCLS 客户端\;C:\Program 文件\Intel\iCLS
Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
文件
(x86)\GtkSharp.12\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\ ;D:\Programs\QuickTime\QTSystem\;C:\程序
文件 (x86)\Intel\Intel(R) 管理引擎
Components\DAL;C:\Program Files\Intel\Intel(R) 管理引擎
Components\DAL;C:\Program Files (x86)\Intel\Intel(R) 管理
引擎 Components\IPT;C:\Program Files\Intel\Intel(R) 管理
引擎 Components\IPT;C:\Program Files
(x86)\Skype\Phone\;C:\Users\run_j\.dnx\bin;C:\程序
Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL
Server0\Tools\Binn\;C:\Program Files
(x86)\Graphviz2.38\bin;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\程序
Files\PuTTY\;C:\Program Files\dotnet\;C:\Program Files
(x86)\英伟达
Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\ ;\"C:\WINDOWS\System32;C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools\";C:\ProgramData\chocolatey\bin;D:\Programs\NodeJS\;C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools;C:\Android\android-sdk\tools\bin ;C:\程序
Files\Microsoft VS Code\bin;C:\程序
Files\Java\jdk1.8.0_191\bin;C:\Program
Files\Oracle\VirtualBox;;C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools\";C:\ProgramData\chocolatey\bin;D:\Programs\NodeJS\;C:\Android\android-sdk\tools; C:\Android\android-sdk\platform-tools;C:\Android\android-sdk\tools\bin;C:\程序
Files\Microsoft VS Code\bin;C:\程序
Files\Java\jdk1.8.0_191\bin;C:\Program
Files\Oracle\VirtualBox;;C:\Android\android-sd;C:\Users\run_j\AppData\Local\Microsoft\WindowsApps;C:\Users\run_j\AppData\Roaming\Composer\供应商\bin;C:\程序
Files\Microsoft VS
Code\bin;C:\Users\run_j\AppData\Roaming\npm","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;. JSE;.WSF;.WSH;.MSC","PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"Intel64
Family 6 型号 94 步进 3,
GenuineIntel","PROCESSOR_LEVEL":"6","PROCESSOR_REVISION":"5e03","ProgramData":"C:\ProgramData","ProgramFiles":"C:\Program
文件","ProgramFiles(x86)":"C:\Program Files
(x86)","ProgramW6432":"C:\程序
文件","PSModulePath":"C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\","PUBLIC":"C:\Users\Public","SESSIONNAME":"Console","SystemDrive":"C:" ,"SystemRoot":"C:\WINDOWS","TEMP":"C:\Users\run_j\AppData\Local\Temp","TMP":"C:\Users\run_j\AppData\Local\Temp","USERDOMAIN":"LAPTOP-23SLBRUJ","USERDOMAIN_ROAMINGPROFILE":"LAPTOP-23SLBRUJ","USERNAME":"Mennolp","USERPROFILE":"C:\Users\run_j","VBOX_MSI_INSTALL_PATH":"C:\Program
Files\Oracle\VirtualBox\","VS140COMNTOOLS":"C:\Program Files
(x86)\微软 Visual Studio
14.0\Common7\Tools\","windir":"C:\WINDOWS"}
时间:应用就绪:77.854 毫秒
时间:syncProxy:1042.114ms
TIME: apiShell: 87.933ms [2018-12-28T15:54:17.245Z]: Shell 就绪 - {"shellData":{"lastModuleEvent": "componentsReady","moduleEventsCache":64,"sendRequestsCache":310,"windows":[{"type":"splash-screen","ready":false} ,{"type":"index","ready":false}],"shellReady":false,"allWindowsReady":false}}
TIME: modulesLoad: 473.362ms [2018-12-28T15:54:18.460Z]: UI 接收就绪 -
{"uiData":{"readyForReceiving":true,"readyForSending":false,"sendRequestsCache":7},"windowHref":"file:///C:/Users/run_j/AppData/Local/NativeScriptSidekick/app-1.14.1-v201811233/resources/app.asar/ui/splash-screen.html", "shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":312,"windows":[{"type":"splash-screen","ready":false},{"type":"index","ready":false}],"shellReady":false,"allWindowsReady" :错误的}}
[2018-12-28T15:54:18.461Z]: Shell Window 就绪 -
{"windowType":"splash-screen","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":312,"windows":[{"type":"splash-screen","ready":真},{"type":"index","ready":假}], "shellReady":假,"allWindowsReady":假}}
[2018-12-28T15:54:18.461Z]: UI 接收就绪 -
{"uiData":{"readyForReceiving":true,"readyForSending":false,"sendRequestsCache":7},"windowHref":"file:///C:/Users/run_j/AppData/Local/NativeScriptSidekick/app-1.14.1-v201811233/resources/app.asar/ui/index.html","shellData" :{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":312,"windows":[{"type":"splash-screen", "ready":true},{"type":"index","ready":false}],"shellReady":false,"allWindowsReady":false}}
[2018-12-28T15:54:18.461Z]: Shell Window 就绪 -
{"windowType":"index","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":312,"windows":[{"type":"splash-screen","ready":真},{"type":"index","ready":真}], "shellReady":真,"allWindowsReady":真}}
[2018-12-28T15:54:18.715Z]: UI 发送就绪 -
{"uiData":{"readyForReceiving":真,"readyForSending":真,"sendRequestsCache":15},"windowHref":"file:///C:/Users/run_j/AppData/Local/NativeScriptSidekick/app-1.14.1-v201811233/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-12-28T15:54:18.895Z]: UI 发送就绪 -
{"uiData":{"readyForReceiving":真,"readyForSending":真,"sendRequestsCache":85},"windowHref":"file:///C:/Users/run_j/AppData/Local/NativeScriptSidekick/app-1.14.1-v201811233/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}}
时间:初始化Windows:2918.208ms
时间:checkPrerequisites:22657.786ms
我在不知情的情况下安装了两个版本的 npm。不得不卸载其中之一并将我的 PATH 变量重置为正确的位置。
这解决了问题!
我发现了一些重复项,但这些对我不起作用: NativeScript Sidekick won't run since CLI 3.2.1 update doesn't work https://discourse.nativescript.org/t/tns-update-3-2-1-not-working/2766/4
我目前正在尝试启动 Nativescript Sidekick,但它总是提示我使用命令
更新 nativescript CLInpm i -g nativescript@latest
这不起作用。
我也试过卸载、清除缓存并重新安装。 这也没有用。
有什么建议吗?
日志:
Main
[18-12-28 16:54:16.851] (Info) ab.actionsLogger.shell.appVersion - {"name":"NativeScript Sidekick","version":"1.14.1-v.2018.11.23.3"} [18-12-28 16:54:16.864] (Info) ab.analytics.shell.clientId - 2084238102.1530883066 [18-12-28 16:54:16.878] (Info) ab.appContext.shell.appContext - No value provided [18-12-28 16:54:16.879] (Info) ab.appContext.shell.projectType - No value provided [18-12-28 16:54:16.913] (Info) ab.appValidityWatcher.shell.isAppValid - No value provided [18-12-28 16:54:16.931] (Info) ab.autoUpdate.shell.updates - {"eventName":"checking-for-update","message":"Checking for updates..."} [18-12-28 16:54:16.950] (Info) ab.buildDeploy.shell.buildConfigChanged - {"platform":null,"buildType":"Cloud","buildConfig":"Debug","isClean":false,"useSharedCloud":false,"webpack":{"isWebpack":false,"env":{"uglify":true,"snapshot":true,"aot":{"debug":false,"release":true},"sourceMap":false}},"isHmr":false} [18-12-28 16:54:16.954] (Info) ab.buildDeploy.shell.isWebpackSupported - No value provided [18-12-28 16:54:16.957] (Info) ab.buildDeploy.shell.isWebpackRequired - No value provided [18-12-28 16:54:16.959] (Info) ab.buildDeploy.shell.isAOTSupported - No value provided [18-12-28 16:54:16.960] (Info) ab.buildDeploy.shell.isSourceMapsSupported - No value provided [18-12-28 16:54:16.961] (Info) ab.buildDeploy.shell.canChangeWebpackOption - true [18-12-28 16:54:16.962] (Info) ab.buildDeploy.shell.isHMRSupported - No value provided [18-12-28 16:54:16.966] (Info) ab.buildDeploy.shell.isSharedCloudFlagSupported - No value provided [18-12-28 16:54:16.975] (Info) ab.certificateStore.shell.isSupported - true [18-12-28 16:54:16.987] (Info) ab.codeSigning.shell.codeSigningChanged - {"ios":{},"android":{}} [18-12-28 16:54:16.991] (Info) ab.codeSigning.shell.csrStore - {} [18-12-28 16:54:17.004] (Info) ab.createApp.shell.lastUsedAppDirectory - {"appDirectory":"D:\Projects"} [18-12-28 16:54:17.025] (Info) ab.editor.shell.editorSettings - {"editorPath":"C:\Program Files\Microsoft VS Code\Code.exe","args":"{projectPath}"} [18-12-28 16:54:17.040] (Info) ab.kinveyAuth.shell.configData - {"shouldConfigure":false} [18-12-28 16:54:17.118] (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/7897e80a-b8a4-4797-883a-bdacfe1ab8e4","unsubscribeUrl":"https://forms.progress.com/emailoptin","partnersUrl":"https://www.progress.com/partners/partner-directory","privacyInfoShown":true,"emailsAccepted":false} [18-12-28 16:54:17.121] (Info) ab.proxy.shell.proxySettings - {} [18-12-28 16:54:17.144] (Info) ab.subscriptions.shell.usageInfo - No value provided [18-12-28 16:54:17.146] (Info) ab.subscriptions.shell.accountFeatures - [] [18-12-28 16:54:17.235] (Info) ab.userAccounts.shell.userAccountList - [] [18-12-28 16:54:17.237] (Info) ab.userAccounts.shell.activeUserAccount - No value provided [18-12-28 16:54:18.898] (Info) ab.analytics.ui.setVersion - {"version":"1.14.1-v.2018.11.23.3"} [18-12-28 16:54:18.901] (Info) ab.buildDeploy.ui.pendingRequests - No value provided [18-12-28 16:54:18.964] (Info) ab.vueService.ui.routeChanged - {"path":"/recent-apps","query":{"back":true}} [18-12-28 16:54:19.068] (Info) ab.connectedDevices.ui.devicesListChanged - {} [18-12-28 16:54:26.253] (Info) ab.autoUpdate.shell.updates - {"eventName":"update-not-available","message":"No updates available."} [18-12-28 16:54:32.087] (Info) ab.tnsDoctor.shell.checkLocalBuild - {"iOS":{"canExecuteLocalBuild":false,"warnings":[]},"Android":{"canExecuteLocalBuild":true,"warnings":[]}} [18-12-28 16:54:37.873] (Info) ab.tnsDoctor.shell.checkDependencies - {"node":{"name":"NodeJS","version":"8.11.3","versionRange":">=8.0.0 <10.6.0 ||
=10.10.0","versionToInstall":"8.11.3","isMet":true,"isAutoFixSupported":false},"npm":{"name":"npm","version":"6.4.1","isMet":true,"isAutoFixSupported":false},"tns":{"name":"NativeScript CLI","version":null,"versionRange":">=5.0.1","versionToInstall":"latest","isMet":false,"isAutoFixSupported":true}}
控制台:
ENV: {"ALLUSERSPROFILE":"C:\ProgramData","ANDROID_AVD_HOME":"C:\Users\run_j\.android\avd","ANDROID_HOME":"C:\Users\run_j\AppData\Local\Android\Sdk","ANDROID_SDK_ROOT": "C:\Users\run_j\AppData\Local\Android\Sdk","APPDATA":"C:\Users\run_j\AppData\Roaming","ChocolateyInstall":"C:\ProgramData\chocolatey","ChocolateyLastPathUpdate":"周五
11 月 9 日 12:41:32 2018","CLASSPATH":".;","CommonProgramFiles":"C:\程序Files\Common 文件","CommonProgramFiles(x86)":"C:\Program Files (x86)\Common 文件","CommonProgramW6432":"C:\Program Files\Common 文件","COMPUTERNAME":"LAPTOP-23SLBRUJ","ComSpec":"C:\WINDOWS\system32\cmd.exe","DriverData":"C:\Windows\System32\Drivers\DriverData","DXROOT":"D:\Programs\SandCastle\" ,"FPS_BROWSER_APP_PROFILE_STRING":"互联网 Explorer","FPS_BROWSER_USER_PROFILE_STRING":"Default","FSHARPINSTALLDIR":"C:\Program 文件 (x86)\Microsoft SDKs\F#\10.1\Framework\v4.0\","GOOGLE_API_KEY":"AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q","GTK_BASEPATH":"C:\Program 文件 (x86)\GtkSharp.12\","HOMEDRIVE":"C:","HOMEPATH":"\Users\run_j","JAVA_HOME":"C:\Program Files\Java\jdk1.8.0_191","LOCALAPPDATA":"C:\Users\run_j\AppData\Local","LOGONSERVER":"\\LAPTOP-23SLBRUJ","NUMBER_OF_PROCESSORS":"8" ,"OneDrive":"C:\Users\run_j\OneDrive","OneDriveConsumer":"C:\Users\run_j\OneDrive","OS":"Windows_NT","Path":"C:\ProgramData\Oracle\Java\javapath;C:\程序 文件 (x86)\Intel\iCLS 客户端\;C:\Program 文件\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program 文件 (x86)\GtkSharp.12\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\ ;D:\Programs\QuickTime\QTSystem\;C:\程序 文件 (x86)\Intel\Intel(R) 管理引擎 Components\DAL;C:\Program Files\Intel\Intel(R) 管理引擎 Components\DAL;C:\Program Files (x86)\Intel\Intel(R) 管理 引擎 Components\IPT;C:\Program Files\Intel\Intel(R) 管理 引擎 Components\IPT;C:\Program Files (x86)\Skype\Phone\;C:\Users\run_j\.dnx\bin;C:\程序 Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server0\Tools\Binn\;C:\Program Files (x86)\Graphviz2.38\bin;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\程序 Files\PuTTY\;C:\Program Files\dotnet\;C:\Program Files (x86)\英伟达 Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\ ;\"C:\ProgramData\Oracle\Java\javapath;C:\程序 文件 (x86)\Intel\iCLS 客户端\;C:\Program 文件\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program 文件 (x86)\GtkSharp.12\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\ ;D:\Programs\QuickTime\QTSystem\;C:\程序 文件 (x86)\Intel\Intel(R) 管理引擎 Components\DAL;C:\Program Files\Intel\Intel(R) 管理引擎 Components\DAL;C:\Program Files (x86)\Intel\Intel(R) 管理 引擎 Components\IPT;C:\Program Files\Intel\Intel(R) 管理 引擎 Components\IPT;C:\Program Files (x86)\Skype\Phone\;C:\Users\run_j\.dnx\bin;C:\程序 Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server0\Tools\Binn\;C:\Program Files (x86)\Graphviz2.38\bin;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\程序 Files\PuTTY\;C:\Program Files\dotnet\;C:\Program Files (x86)\英伟达 Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\ ;\"C:\ProgramData\Oracle\Java\javapath;C:\程序 文件 (x86)\Intel\iCLS 客户端\;C:\Program 文件\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program 文件 (x86)\GtkSharp.12\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\ ;D:\Programs\QuickTime\QTSystem\;C:\程序 文件 (x86)\Intel\Intel(R) 管理引擎 Components\DAL;C:\Program Files\Intel\Intel(R) 管理引擎 Components\DAL;C:\Program Files (x86)\Intel\Intel(R) 管理 引擎 Components\IPT;C:\Program Files\Intel\Intel(R) 管理 引擎 Components\IPT;C:\Program Files (x86)\Skype\Phone\;C:\Users\run_j\.dnx\bin;C:\程序 Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server0\Tools\Binn\;C:\Program Files (x86)\Graphviz2.38\bin;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\程序 Files\PuTTY\;C:\Program Files\dotnet\;C:\Program Files (x86)\英伟达 Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\ ;\"C:\WINDOWS\System32;C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools\";C:\ProgramData\chocolatey\bin;D:\Programs\NodeJS\;C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools;C:\Android\android-sdk\tools\bin ;C:\程序 Files\Microsoft VS Code\bin;C:\程序 Files\Java\jdk1.8.0_191\bin;C:\Program Files\Oracle\VirtualBox;;C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools\";C:\ProgramData\chocolatey\bin;D:\Programs\NodeJS\;C:\Android\android-sdk\tools; C:\Android\android-sdk\platform-tools;C:\Android\android-sdk\tools\bin;C:\程序 Files\Microsoft VS Code\bin;C:\程序 Files\Java\jdk1.8.0_191\bin;C:\Program Files\Oracle\VirtualBox;;C:\Android\android-sd;C:\Users\run_j\AppData\Local\Microsoft\WindowsApps;C:\Users\run_j\AppData\Roaming\Composer\供应商\bin;C:\程序 Files\Microsoft VS Code\bin;C:\Users\run_j\AppData\Roaming\npm","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;. JSE;.WSF;.WSH;.MSC","PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"Intel64 Family 6 型号 94 步进 3, GenuineIntel","PROCESSOR_LEVEL":"6","PROCESSOR_REVISION":"5e03","ProgramData":"C:\ProgramData","ProgramFiles":"C:\Program 文件","ProgramFiles(x86)":"C:\Program Files (x86)","ProgramW6432":"C:\程序 文件","PSModulePath":"C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\","PUBLIC":"C:\Users\Public","SESSIONNAME":"Console","SystemDrive":"C:" ,"SystemRoot":"C:\WINDOWS","TEMP":"C:\Users\run_j\AppData\Local\Temp","TMP":"C:\Users\run_j\AppData\Local\Temp","USERDOMAIN":"LAPTOP-23SLBRUJ","USERDOMAIN_ROAMINGPROFILE":"LAPTOP-23SLBRUJ","USERNAME":"Mennolp","USERPROFILE":"C:\Users\run_j","VBOX_MSI_INSTALL_PATH":"C:\Program Files\Oracle\VirtualBox\","VS140COMNTOOLS":"C:\Program Files (x86)\微软 Visual Studio 14.0\Common7\Tools\","windir":"C:\WINDOWS"}
时间:应用就绪:77.854 毫秒
时间:syncProxy:1042.114ms
TIME: apiShell: 87.933ms [2018-12-28T15:54:17.245Z]: Shell 就绪 - {"shellData":{"lastModuleEvent": "componentsReady","moduleEventsCache":64,"sendRequestsCache":310,"windows":[{"type":"splash-screen","ready":false} ,{"type":"index","ready":false}],"shellReady":false,"allWindowsReady":false}}
TIME: modulesLoad: 473.362ms [2018-12-28T15:54:18.460Z]: UI 接收就绪 -
{"uiData":{"readyForReceiving":true,"readyForSending":false,"sendRequestsCache":7},"windowHref":"file:///C:/Users/run_j/AppData/Local/NativeScriptSidekick/app-1.14.1-v201811233/resources/app.asar/ui/splash-screen.html", "shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":312,"windows":[{"type":"splash-screen","ready":false},{"type":"index","ready":false}],"shellReady":false,"allWindowsReady" :错误的}} [2018-12-28T15:54:18.461Z]: Shell Window 就绪 - {"windowType":"splash-screen","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":312,"windows":[{"type":"splash-screen","ready":真},{"type":"index","ready":假}], "shellReady":假,"allWindowsReady":假}} [2018-12-28T15:54:18.461Z]: UI 接收就绪 - {"uiData":{"readyForReceiving":true,"readyForSending":false,"sendRequestsCache":7},"windowHref":"file:///C:/Users/run_j/AppData/Local/NativeScriptSidekick/app-1.14.1-v201811233/resources/app.asar/ui/index.html","shellData" :{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":312,"windows":[{"type":"splash-screen", "ready":true},{"type":"index","ready":false}],"shellReady":false,"allWindowsReady":false}} [2018-12-28T15:54:18.461Z]: Shell Window 就绪 - {"windowType":"index","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":312,"windows":[{"type":"splash-screen","ready":真},{"type":"index","ready":真}], "shellReady":真,"allWindowsReady":真}} [2018-12-28T15:54:18.715Z]: UI 发送就绪 - {"uiData":{"readyForReceiving":真,"readyForSending":真,"sendRequestsCache":15},"windowHref":"file:///C:/Users/run_j/AppData/Local/NativeScriptSidekick/app-1.14.1-v201811233/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-12-28T15:54:18.895Z]: UI 发送就绪 - {"uiData":{"readyForReceiving":真,"readyForSending":真,"sendRequestsCache":85},"windowHref":"file:///C:/Users/run_j/AppData/Local/NativeScriptSidekick/app-1.14.1-v201811233/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}}
时间:初始化Windows:2918.208ms
时间:checkPrerequisites:22657.786ms
我在不知情的情况下安装了两个版本的 npm。不得不卸载其中之一并将我的 PATH 变量重置为正确的位置。
这解决了问题!