通过MAC上的remotebuild从GIT安装Cordova插件

时间:2019-07-11 08:06:47

标签: ios cordova cordova-plugins

我有一个cordova插件,该插件仅在GIT存储库上可用,并且未在npm插件注册表中注册。

我正在尝试将Visual Studio 2017中的cordova远程构建发送到MAC机,远程构建正在尝试从npm下载插件,并且失败并出现以下错误。

      npm ERR! 404  'plugin-package-name' 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  It was specified as a dependency of 'projectname'

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

即使插件未使用remotebuild向npm注册,如何从git存储库安装?

编辑:我可以使用git URL在Visual Studio 2017 cordova中进行安装,但是远程构建仍在npm中进行。

    cordova plugin add https://github.com/plugin-name.git#va.b.c

0 个答案:

没有答案