question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unable to update the global install of aurelia-cli

See original GitHub issue

I’m submitting a bug report

  • Library Version: 0.21.0

Please tell us about your environment:

  • Operating System: Windows 10 Anniversary update

  • Hardware: Surface Book (no longer reproduces on my Dell laptop.

  • Node Version: 6.2.0

  • NPM Version: 3.10.8

  • Browser: N/A

  • Language: N/A

Current behavior: I’m having issues updating my global installation of Aurelia-cli.

I ran: npm uninstall -g aurelia-cli Then I ran npm install -g aurelia-cli@0.21.0 to make sure I got the latest version When I run au -v the version reported is not what i’d expect. Here is the command line output from when I installed the Aurelia-cli 0.20.0 and tested the verion

This issue still exists if you close and open a new command prompt.

Here is the full output from my command prompt:

C:\Users\chrsm\Documents\Visual Studio Code>npm install -g aurelia-cli@0.21.0
C:\Users\chrsm\AppData\Roaming\npm\au -> C:\Users\chrsm\AppData\Roaming\npm\node_modules\aurelia-cli\bin\aurelia-cli.js
C:\Users\chrsm\AppData\Roaming\npm\aurelia -> C:\Users\chrsm\AppData\Roaming\npm\node_modules\aurelia-cli\bin\aurelia-cli.js
C:\Users\chrsm\AppData\Roaming\npm
`-- aurelia-cli@0.21.0


C:\Users\chrsm\Documents\Visual Studio Code>au -v
0.19.0

C:\Users\chrsm\Documents\Visual Studio Code>cd C:\Users\chrsm\AppData\Roaming\npm

C:\Users\chrsm\AppData\Roaming\npm>au -v
0.21.0

Expected/desired behavior:

  • What is the expected behavior? I’d expect au -v to report the right version that I just installed, 0.21.0
  • What is the motivation / use case for changing the behavior? I would like to update so I can take advantage of the improvements when I create a new Aurelia project or update an existing Aurelia project with updated script files like the test script examples or au commands.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
chrsmrtn-commented, Oct 20, 2016

I also ran the uninstall and then closed the command prompt. Then from a fresh command prompt I ran npm -g cache clear. Then I ran the global install of aurelia-cli. Finally ran au -v and still got the unexpected output of 0.19.0

0reactions
AStokercommented, Oct 26, 2016

Glad you got it resolved!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Updating the Aurelia CLI
Since the CLI is installed both globally and locally, you need to update both. First, run npm install aurelia-cli@latest -g to update the...
Read more >
Cannot upgrade aurelia-cli from 0.21.0 to 0.23.0
Each Aurelia project gets its own local version of the CLI so that upgrading your global version of the CLI won't magically break...
Read more >
Developers - unable to update the global install of aurelia-cli -
Current behavior: I'm having issues updating my global installation of Aurelia-cli. ... This issue still exists if you close and open a new...
Read more >
aurelia-cli - npm
Start using aurelia-cli in your project by running `npm i aurelia-cli`. ... Go into the cli directory: cd cli; Run npm install ......
Read more >
A Installation & set up - Aurelia in Action - liveBook · Manning
Outdated NPM cache: If you receive a message indicating that the aurelia-cli package is not a part of the NPM registry when attempting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found