正在更新本地cordova插件,但cordova cli正在尝试从npm获取?

正在更新本地cordova插件,但cordova cli正在尝试从npm获取?,cordova,npm,cordova-plugins,Cordova,Npm,Cordova Plugins,我在一个目录中有一个本地开发的cordova插件,比使用的应用程序级别高出几个级别,即文件系统结构是: (root folder) | +----- app-group-name | | | +---- app-cordova-project | | | +---- app-backend-project | +----- loc

我在一个目录中有一个本地开发的cordova插件,比使用的应用程序级别高出几个级别,即文件系统结构是:

(root folder)
     |
     +----- app-group-name
     |            |
     |            +---- app-cordova-project
     |            |
     |            +---- app-backend-project
     |
     +----- local-plugin-name
                  |
                  +---- plugin-project
                  |
                  +---- plugin-test-app-project
根文件夹的位置各不相同(我需要能够在多个操作系统(包括Windows和MacOS)中开发此项目,因此不能在所有安装中使用相同的根文件夹名称,因此我必须使用相对路径)

我使用cli将插件添加到项目中,因此:

cordova plugin add ../../local-plugin-name/plugin-project --save
这安装了插件,并添加了对
config.xml
的引用,其中包含指向项目位置的链接。该位置已转换为绝对路径名,因此我手动将其编辑回相对路径

当插件更改时,我将其删除并读取到项目中。我已经这样做过几次了,而且在过去一直有效。但是,最近一次尝试时,我出现了以下错误:

(node:14156) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: cmd: Command failed with exit code 1 Error output:
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/app-cordova-project
npm ERR! 404
npm ERR! 404  'app-cordova-project' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\myusername\AppData\Roaming\npm-cache\_logs\2018-01-09T22_35_17_444Z-debug.log
(node:14156) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(名称更改以保护无辜者。但请特别注意,它试图下载的模块是应用程序的名称,而不是正在使用的插件)

请注意,我最近重新安装了我使用的所有各种软件(即node.js、cordova cli、git、npm等的新版本),因此可能是软件更新触发了这种情况。我特别注意到,自上次重新安装cordova cli以来,它有一个主要的版本更新,并且在使用node的LTS版本时,自上次更新以来,它也经历了一个主要的修订


你知道是什么导致了这个问题吗?我怎样才能让我的本地插件干净地重新安装?

你找到解决办法了吗?