nativescript-cli
nativescript-cli copied to clipboard
ns migrate (to 8) failing at Android step
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 8.0.2
- Cross-platform modules:
- Android Runtime: 7.0.1
- iOS Runtime: 6.5.4
- XCode Version: 12.5.1
- Plugin(s): none
Describe the bug
spawn: npm "install" "--legacy-peer-deps" "[email protected]" "--silent" "--dev" "--save-dev" "--save-exact"
Will send the following information to Google Analytics: {
type: 'googleAnalyticsData',
category: 'CLI',
googleAnalyticsDataType: 'event',
action: 'Performance',
label: 'PackageManager__install',
customDimensions: { cd2: 'Angular', cd9: 'false', cd5: 'CLI' },
value: 10877
}
Error: Command npm failed with exit code 1
at ChildProcess.<anonymous> (/usr/local/lib/node_modules/nativescript/lib/common/child-process.js:143:36)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1048:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
To Reproduce
ns migrate --log trace
Expected behavior Succesful migration