Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jkatins opened this issue Jan 9, 2024 · 0 comments
Labels

Comments

@jkatins
Copy link

jkatins commented Jan 9, 2024

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.

@rigor789 rigor789 transferred this issue from NativeScript/android Jan 9, 2024
@rigor789 rigor789 added the bug label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants