NativeScript / nativescript-cli

Command-line interface for building NativeScript apps
https://www.npmjs.com/package/nativescript
Apache License 2.0
1.04k stars 195 forks source link

fix(plugins): parse name issue with invalid plugins #5770

Closed NathanWalker closed 9 months ago

NathanWalker commented 1 year ago

PR Checklist

What is the current behavior?

If a plugin contains invalid data like the wrong name according to package.json, a 'path' from 'undefined' ambiguous error occurs.

What is the new behavior?

This will now print the name of the invalid package to allow one to resolve effectively.

Fixes/Implements/Closes #[Issue Number].