Unable to run RNW CLI commands due to TypeError: _this._shutdownStatsbeat is not a function
#12587
Labels
TypeError: _this._shutdownStatsbeat is not a function
#12587
Problem Description
A bug was introduced in the
[email protected]
package which breaks our CLI commands.That bug upstream: microsoft/ApplicationInsights-node.js#1258
The PR to fix it upstream: microsoft/ApplicationInsights-node.js#1259
It's possible to hit this bug in any of several versions of RNW, especially with new projects as they may pull this newer, broken version of
applicationinsights
, unless you're using a lock file to prevent it.Example error:
Steps To Reproduce
Try to run a CLI command (or
yarn build
our repo, which will call thecodegen-windows
command internally).Expected Results
Command works
CLI version
12.0.0
Environment
Target Platform Version
None
Target Device(s)
Desktop
Visual Studio Version
None
Build Configuration
None
Snack, code example, screenshot, or link to a repository
No response
The text was updated successfully, but these errors were encountered: