• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

I Like Kill Nerds

The blog of Australian Front End / Aurelia Javascript Developer & brewing aficionado Dwayne Charrington // Aurelia.io Core Team member.

  • Home
  • Aurelia 2
  • Aurelia 1
  • About
  • Aurelia 2 Consulting/Freelance Work

Issue Updating “aurelia-cli” or other global Node Modules?

Aurelia 1 · July 28, 2016

As much as I love Npm, it can be quite buggy at times, especially on Windows.

One such error I encountered recently was trying to install the latest version of the Aurelia CLI by typing npm install -g aurelia-cli in most cases this just works and updates the existing version. However, a couple of times now, I kept getting some error about “ENOENT: no such file or directory, rename” and then something about a node_modules/.staging folder.

The fix is:

  • Uninstall the dependency: npm uninstall -g aurelia-cli
  • Clear your Npm cache: npm cache clean
  • Then reinstall: npm install -g aurelia-cli

Dwayne

Leave a Reply Cancel reply

1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Kristian Mandrup
Kristian Mandrup
6 years ago

Check out my new aurelia-installer CLI as well and let me know what you think, tips for improvements etc. 😉 Cheer!

https://www.npmjs.com/package/aurelia-installer

0

Primary Sidebar

Popular

  • The Quad Cortex Desktop Editor is Finally Announced
  • Thoughts on the Flipper Zero
  • NBN Box Installed Inside of Garage, Where Do You Put The Modem?
  • How To Install Eufy Security Cameras Without Drilling or Using Screws
  • Wild Natural Deodorant Review

Copyright © 2023 · Dwayne Charrington · Log in

wpDiscuz