Npm-check-updates: The term 'ncu' or 'npm-check-updates' is not recognized as the name of a cmdlet

Created on 26 Feb 2019  路  4Comments  路  Source: raineorshine/npm-check-updates

  • node version: v8.11.2
  • npm version: 5.6.0
  • npm-check-updates version: 2.15.0

    windows 10 pro build 1809

    'ncu' or 'npm-check-updates' is not recognized as the name of a cmdlet

dependency-bug

All 4 comments

Thanks for reporting. Are you using a special shell of some sort? I am not familiar with cmdlets. I am using normal best practices for declaring node binaries: https://github.com/tjunnone/npm-check-updates/blob/master/package.json#L36-L39

You could also try ncu.cmd

I fixed this by add C:\Users\YourUserName\AppData\Roaming\npm to my system's user environment variables.

@raineorshine I believe this is a non-issue in the sense that normally when Node.js is installed automatically adds C:\Users\YourUserName\AppData\Roaming\npm in PATH. If it's not there, then something is wrong with the user's installation, not ncu.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daveisfera picture daveisfera  路  7Comments

nicksarafa picture nicksarafa  路  6Comments

HitomiTenshi picture HitomiTenshi  路  6Comments

benface picture benface  路  7Comments

ibc picture ibc  路  7Comments