-
-
Notifications
You must be signed in to change notification settings - Fork 197
Closed
Milestone
Description
Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?
- Yes
Tell us about the problem
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
When running tns create or tns doctor I get the error: Unable to start Analytics Broker process. (NativeScript CLI)
Which platform(s) does your issue occur on?
iOS/Android/Both
- WINDOWS
Please provide the following version numbers that your issue occurs with:
- CLI: 3.3.0
Please tell us how to recreate the issue in as much detail as possible.
When running commands for the NativeScript-cli, the following error shows up:
$ tns create testAppNS
Unable to start Analytics Broker process.
Failed to display command help Error: Unable to start Analytics Broker process.
at Timeout.setTimeout (C:\Program Files (x86)\Nodist\bin\node_modules\nativescript\lib\services\analytics\analytics-service.js:124:28)
at ontimeout (timers.js:365:14)
at tryOnTimeout (timers.js:237:5)
at Timer.listOnTimeout (timers.js:207:5)
Error while reporting exception: Error: Unable to start Analytics Broker process.
When running the analytics directly (which is what the code is trying to do) the following issue appears:
$ node "C:\Program Files (x86)\Nodist\bin\node_modules\nativescript\lib\services\analytics\analytics-service.js"
C:\Program Files (x86)\Nodist\bin\node_modules\nativescript\lib\services\analytics\analytics-service.js:185
$injector.register("analyticsService", AnalyticsService);
^
ReferenceError: $injector is not defined
at Object.<anonymous> (C:\Program Files (x86)\Nodist\bin\node_modules\nativescript\lib\services\analytics\analytics-service.js:185:1)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
Metadata
Metadata
Assignees
Labels
No labels