NativeScript/nativescript-cli

Asterisk in package.json version raises Cannot read property of null (reading 'filter')

jkatins opened this issue · 0 comments

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.json and change
    "devDependencies": {
      "@nativescript/android": "^8.6.2",
    to
    "devDependencies": {
      "@nativescript/android": "*",
  • Running any command like ns doctor android or ns build android fails with
    Cannot read property of null (reading 'filter')
    

Expected behavior
The project should still build.