Npm-check-updates: no such file or directory, rename dezalgo

Created on 13 Feb 2018  路  15Comments  路  Source: raineorshine/npm-check-updates

  • [X] I have read the list of known issues before filing this issue.
  • [ X] I have searched for similiar issues before filing this issue.

  • node version: 8.9.4

  • npm version: 5.6.0
  • npm-check-updates version: 2.14.0

Received followign error today only.

npm ERR! path //development/node_modules/dezalgo
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '//node_modules/npm/node_modules/dezalgo' -> '//node_modules/npm/node_modules/.dezalgo.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

bug

Most helpful comment

Same issue here. Installing npm-check-updates breaks npm and removing it fixes it. Using node v9.5.0 and npm v5.6.0

All 15 comments

Same thing happens to me.

Same issue here. Installing npm-check-updates breaks npm and removing it fixes it. Using node v9.5.0 and npm v5.6.0

Same here. It just works when is installed globally.

+1

+1

This is due to an old version of npm being included as a dependency. This should be removed and the system npm should be used to make ncu more agnostic to the npm version (see multiple issues). In the mean time, I have upgraded the npm dependency and published to v3.0.0-alpha1. Let me know if this corrects the problem, and I will push it to latest:

npm uninstall -g npm-check-updates
npm install -g npm-check-updates@v3-alpha

@raineorshine did not help me.

npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Projects\X\src\X.Web\node_modules\aurelia-cli\node_modulesnpm\node_modules\dezalgo' -> 'C:\Projects\X\src\X.Web\node_modules\aurelia-cli\node_modulesnpm\node_modules.dezalgo.DELETE'

@raineorshine Yeah right after i posted i thought i was on npm 5.6 but i was actually on 4.6.1. What was confusing me is when I went npm -v it showed 5.6 but I noticed i was on 4.6.1 in my package.json. Anyway I upticked to the latest npm in my package.json and it solved my problem.

@reft I was made aware that npmi also needed to be upgraded. Make sure you uninstall the package first, too. Can you try this now?

npm uninstall -g npm-check-updates
npm install -g npm-check-updates@v3-alpha

@raineorshine I just test npm-check-updates@v3-alpha it and the issue is not reproducible again.

node -> v8.9.4
npm -> v5.6.0

Is it going to be published as a definitive release?

@franher It will be published as v3, but the intention is to include the other breaking changes. I am watching the repo and doing fixes where I can, but there are currently no active developers on npm-check-updates.

_"Same issue here. Installing npm-check-updates breaks npm and removing it fixes it. Using node v9.5.0 and npm v5.6.0"_

As a workaround I've been using;

$ npx npm-check-updates -e 1

Read about npx.

Love npm-check-updates 馃槏 Thank you for maintaining such a helpful package!

I had this issue too using npm v5.6.0, upgraded to 6.0.0 and now every installation works fine.

run npm i -g npm to upgrade

Fixed in the upcoming release v3.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

evgenyrodionov picture evgenyrodionov  路  4Comments

mkungla picture mkungla  路  6Comments

nicksarafa picture nicksarafa  路  6Comments

frankTadlip picture frankTadlip  路  4Comments

dereklin picture dereklin  路  6Comments