Skip to content

Unable to update / install beta6 #1097

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
olakara opened this issue Jun 15, 2016 · 4 comments
Closed

Unable to update / install beta6 #1097

olakara opened this issue Jun 15, 2016 · 4 comments

Comments

@olakara
Copy link

olakara commented Jun 15, 2016

Please provide us with the following information:

  1. OS?
    Windows 8
  1. Versions. Please run ng --version. If there's nothing outputted, please
    run in a Terminal:
    node --version
    And paste the result here.
    λ ng -v
    angular-cli: 1.0.0-beta.5
    node: 4.2.2
    os: win32 x64
  2. Repro steps. Was this an app that wasn't created using the CLI? What change did you
    do on your code? etc.
    I tried to update the cli version from beta 5 to beta 6 by issuing: npm update -g angular-cli
  3. The log given by the failure. Normally this include a stack trace and some
    more information.

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\NodeJs\node.exe" "C:\NodeJs\node_modules\npm\bin\npm-cli.js" "install" "-g" "angular-c
li"
npm ERR! node v4.2.2
npm ERR! npm v3.9.3
npm ERR! path c:\NodeJs\node_modules.staging\abbrev-0137066c
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename 'c:\NodeJs\node_modules.staging\abbrev-0137066c' ->
'c:\NodeJs\node_modules\angular-cli\node_modules\npm\node_modules\abbrev'
npm ERR! enoent ENOENT: no such file or directory, rename 'c:\NodeJs\node_modules.staging\abbrev-0137066c' ->
'c:\NodeJs\node_modules\angular-cli\node_modules\npm\node_modules\abbrev'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Abdel\npm-debug.log
npm ERR! code 1

  1. Mention any other details that might be useful.

    Thanks! We'll be in touch soon.

@olakara
Copy link
Author

olakara commented Jun 16, 2016

All problems solved after updating in this manner:

npm uninstall -g angular-cli
npm cache clean
npm install -g angular-cli@latest

@olakara olakara closed this as completed Jun 16, 2016
@JB-Tellez
Copy link

On OSX 10.11.4, Node 5.4.1, NPM 3.9.5, NVM 0.31.1 I ran

npm uninstall -g angular-cli
npm cache clean
npm install -g angular-cli@latest

and hang about 25% of the way through on "loadRequestedDeps"

@filipesilva
Copy link
Contributor

@olakara glad to hear it's fixed!
@JB-Tellez I will check your problem in the other opened issue, #1110

@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 Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants