Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git 另一回购协议内部的npm包?_Git_Npm_Walmart Electrode - Fatal编程技术网

Git 另一回购协议内部的npm包?

Git 另一回购协议内部的npm包?,git,npm,walmart-electrode,Git,Npm,Walmart Electrode,相关的: electro原型react appnpm包来自另一个包的git存储库的子目录:electro io/electro→ 包装/电极原型反应应用程序 这怎么可能 如何连接到子包的特定分支 我试过了 npm install electrode-io/electrode#electrode-archetype-react-app/some-branch 但出现以下错误: fatal: ambiguous argument 'electrode-archetype-react-app': u

相关的:

electro原型react app
npm包来自另一个包的git存储库的子目录:
electro io/electro
→ <代码>包装/电极原型反应应用程序

  • 这怎么可能
  • 如何连接到子包的特定分支
  • 我试过了

    npm install electrode-io/electrode#electrode-archetype-react-app/some-branch
    
    但出现以下错误:

    fatal: ambiguous argument 'electrode-archetype-react-app': unknown revision or path not in the working tree.
    Use '--' to separate paths from revisions, like this:
    'git <command> [<revision>...] -- [<file>...]'
    
    没有骰子

    这是什么黑暗魔法


    编辑感谢一位目光锐利的同事:电极正在使用,这可能是这种黑暗魔法的来源。

    木偶大师确实是莱娜,不可能使用来自原点的远程分支。只能使用相对路径在本地完成此操作。

    事实上,Lerna是傀儡主控者,不可能使用来自原点的远程分支。只能使用相对路径在本地完成

    npm install github:electrode-io/electrode#electrode-archetype-react-app/some-branch
    npm install github:electrode-io/electrode -- package/electrode-archetype-react-app#some-branch
    npm install github:electrode-io/electrode#some-branch -- package/electrode-archetype-react-app