nativescript-cli
nativescript-cli copied to clipboard
Asterisk in package.json version raises Cannot read property of null (reading 'filter')
Environment
- CLI: 8.6.3
Describe the bug
When changing the @nativescript/android version in package.json to * the project can't be built anymore.
To Reproduce
-
ns create TestApp --vue -
cd TestApp -
npm install --save-dev @nativescript/android -
ns doctor android< all good here - Open
package.jsonand change
to"devDependencies": { "@nativescript/android": "^8.6.2","devDependencies": { "@nativescript/android": "*", - Running any command like
ns doctor androidorns build androidfails withCannot read property of null (reading 'filter')
Expected behavior The project should still build.