我的应用程序中安装了一个Kendo角度网格。我必须将Grid版本从当前的1.6.1更新到最新版本。那么如何通过npm命令卸载Kendo角网格,以便我可以安装最新版本。 对于安装,我有如下语法。我想卸载。
npm install --save @ progress / kendo-angular-grid @ progress / kendo-angular-dropdowns @ progress / kendo-angular-inputs @ progress / kendo-angular-dateinputs @ progress / kendo-data-query @ progress / kendo-angular-intl @ progress / kendo-angular-l10n @ progress / kendo-drawing @ progress / kendo-angular-excel-export @进展/剑术-角按钮
答案 0 :(得分:0)
您的安装脚本将安装最新版本。
包裹是:
a) a folder containing a program described by a package.json file b) a gzipped tarball containing (a) c) a url that resolves to (b) d) a <name>@<version> that is published on the registry (see npm-registry) with (c) e) a <name>@<tag> (see npm-dist-tag) that points to (d) f) a <name> that has a "latest" tag satisfying (e) g) a <git remote url> that resolves to (a)
检查npm文档:https://docs.npmjs.com/cli/install
您遇到以下情况:
f)有一个最新的&#34;标签满足(e)
如果您想要明确,您可以指定最新标记,该标记也会将所有包更新为最新版本。
npm install --save @ progress / kendo-angular-grid @ latest @进度/剑道-角下拉菜单@最新 @进展/剑术-角输入@最新 @进度/剑道-角dateinputs @最新 @ progress / kendo-data-query @ latest @ progress / kendo-angular-intl @ latest @ progress / kendo-angular-l10n @ latest @ progress / kendo-drawing @ latest @进度/剑道-角Excel的出口@最新 @进展/剑术-角按钮@最新
例如,您可以在此处找到kendo-angular-grid的当前标记:https://www.npmjs.com/package/@progress/kendo-angular-grid