Skip to content

ng update comand not working #4765

Closed
Closed

Description

@fkolar

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
MAC

Versions.

@angular/cli: 1.0.0-beta.31
node: 6.9.0
os: darwin x64
@angular/common: 2.4.7
@angular/compiler: 2.4.7
@angular/core: 2.4.7
@angular/forms: 2.4.7
@angular/http: 2.4.7
@angular/platform-browser: 2.4.7
@angular/platform-browser-dynamic: 2.4.7
@angular/router: 3.4.7
@angular/cli: 1.0.0-beta.31
@angular/compiler-cli: 2.4.7

I just updated form #30 to # 31 and after standard procedure of uninstalling and installing new NPMs I run ng update that usually works but now after first questions and aswer NO to skip it exits back to terminal


installing ng2
? Overwrite .editorconfig? (yndH) 

Is there any update task available for this version or should I create new empty project and update files manually?

Thank you,
frank

Activity

  1. prathamesh7pute commented on Feb 17, 2017

    @prathamesh7pute

    Noticed same issue on windows also....
    For now I am currently creating a new project and manually overwrite the files.

    Also it will be good when we overwrite the files like package.json it will update the dependencies version only related to cli and not remove the independently installed dependencies like bootstrap

  2. fkolar commented on Feb 17, 2017

    @fkolar
    Author

    I see. so it must be something in new version. I just created new project and used merge tool and did little manual work.

  3. grizzm0 commented on Feb 17, 2017

    @grizzm0
    Contributor

    Dupe of #4653.
    ng update was broken in beta 31 and has been removed from beta 32 in #4628

    See changelog for more info: https://github.com/angular/angular-cli/blob/3ad2856b27889a50a742c9dca9554a190c8509bf/CHANGELOG.md

  4. fkolar commented on Feb 17, 2017

    @fkolar
    Author

    Cool. I will start again. I just hope in the next few minutes there will not be version 33 ;-)

  5. grizzm0 commented on Feb 17, 2017

    @grizzm0
    Contributor

    Next release will be rc0.

  6. fkolar commented on Feb 17, 2017

    @fkolar
    Author

    You might want to also update documentation as in README.md there is still 👍

    rm -rf node_modules dist # use rmdir on Windows
    npm install --save-dev @angular/cli@latest
    npm install
    ng update
    
  7. itsnotvalid commented on Feb 17, 2017

    @itsnotvalid

    So the update doesn't work, what can we do to update? We now need to resolve to what @prathamesh7pute does before there was such command...

  8. grizzm0 commented on Feb 17, 2017

    @grizzm0
    Contributor

    To update you need to follow the breaking changes instructions in CHANGELOG.md

    As of rc0 (next release) there will not be any more breaking changes.

  9. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    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.

  10. locked and limited conversation to collaborators on Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions