简体   繁体   English

“ npm过时”显示最新未列出的内容

[英]“npm outdated” shows nothing listed for latest

When I run "npm outdated", it doesn't show anything for "Latest". 当我运行“ npm过期”时,“最新”没有显示任何内容。 All of the @angular packages should have a latest version of at least 4.4.6, and I expect most of the other ones should have newer versions as well. 所有@angular软件包都应至少具有4.4.6的最新版本,我希望其他大多数软件包也都应具有较新的版本。 What is listed under "Current" is what is in my package.json file. “当前”下面列出的是我的package.json文件中的内容。

在此处输入图片说明

I had the same problem with latest windows 10 version using powershell. 使用Powershell的最新Windows 10版本存在相同的问题。

A quick workaround is to just use the regular CMD window. 一个快速的解决方法是只使用常规的CMD窗口。

Windows Key + R ---> cmd Windows键+ R ---> cmd

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM