Skip to content

ng new does not add up to date dependencies #16611

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

Closed
2 of 15 tasks
jessorlisa opened this issue Jan 9, 2020 · 2 comments
Closed
2 of 15 tasks

ng new does not add up to date dependencies #16611

jessorlisa opened this issue Jan 9, 2020 · 2 comments

Comments

@jessorlisa
Copy link

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Description

Running ng updatedirectly after creating a new project lists an outdated version of rxjs. I would expect that a newly created project is already up to date

🔬 Minimal Reproduction

  • Run ng new myApp (and accept defaults with Enter)
  • cd myApp
  • ng update

🔥 Error


ng update
Using package manager: 'npm'
Collecting installed dependencies...
Found 30 dependencies.
    We analyzed your package.json, there are some packages to update:
    
      Name                               Version                  Command to update
     --------------------------------------------------------------------------------
      rxjs                               6.4.0 -> 6.5.4           ng update rxjs

🌍 Your Environment



Angular CLI: 8.3.22
Node: 10.18.0
OS: darwin x64
Angular: 8.2.14
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.803.22
@angular-devkit/build-angular     0.803.22
@angular-devkit/build-optimizer   0.803.22
@angular-devkit/build-webpack     0.803.22
@angular-devkit/core              8.3.22
@angular-devkit/schematics        8.3.22
@angular/cli                      8.3.22
@ngtools/webpack                  8.3.22
@schematics/angular               8.3.22
@schematics/update                0.803.22
rxjs                              6.4.0
typescript                        3.5.3
webpack                           4.39.2

@alan-agius4 alan-agius4 added area: @angular/cli freq1: low Only reported by a handful of users who observe it rarely labels Jan 9, 2020
@ngbot ngbot bot added this to the needsTriage milestone Jan 9, 2020
@alan-agius4 alan-agius4 removed freq1: low Only reported by a handful of users who observe it rarely area: @angular/cli labels Jan 9, 2020
@ngbot ngbot bot removed this from the needsTriage milestone Jan 9, 2020
@alan-agius4 alan-agius4 added freq1: low Only reported by a handful of users who observe it rarely severity3: broken type: bug/fix freq3: high area: @schematics/angular and removed freq1: low Only reported by a handful of users who observe it rarely labels Jan 9, 2020
@ngbot ngbot bot added this to the Backlog milestone Jan 9, 2020
@alan-agius4
Copy link
Collaborator

Hi, since this is partially related to #14603, let's continue tracking this there.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jun 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants