在 .gitmodules 中找不到路径 'paquete/static/lib/cgxp' 的子模块映射
No submodule mapping found in .gitmodules for path 'paquete/static/lib/cgxp'
我正在安装 geomapfish。
我在这一步
https://camptocamp.github.io/c2cgeoportal/master/integrator/install_application.html#apache-wsgi-conf-mako
Then you can build and install the application with the command:
$ make -f <user>.mk build
但就我而言,我有这个错误:
git submodule update --init
No submodule mapping found in .gitmodules for path 'paquete/static/lib/cgxp'
CONST_Makefile:1030: recipe for target '.git/modules/proyecto1/static/lib/cgxp/HEAD' failed
make: *** [.git/modules/proyecto1/static/lib/cgxp/HEAD] Error 1
我读了这个post
并尝试遵循它,但我不知道问题是什么。
如果我输入:
...# git ls-files --stage | grep 160000
这是命令行说的:
160000 e1097abee85078e0de1f8e0a4d5269e6a7a9f72f 0 cgxp
160000 7437277b10fbf23206ed75fd6d0924b61d6153be 0 cgxp2
160000 7437277b10fbf23206ed75fd6d0924b61d6153be 0 paquete/static/lib/cgxp
我想我只需要其中之一。
有什么可以帮助我的吗??
我以前的回答是关于从索引中删除该条目,因为 .gitmodules 没有引用它。
git rm --cached paquete/static/lib/cgxp
但是请检查 .gitmodules
的内容,看看是否应该有一个 "cgxp" 存储库。
如果您找到它的 url,您可以通过以下方式将其添加回来:
git submodule add -- /url/of/cgxp paquete/static/lib/cgxp
我正在安装 geomapfish。
我在这一步
https://camptocamp.github.io/c2cgeoportal/master/integrator/install_application.html#apache-wsgi-conf-mako
Then you can build and install the application with the command:
$ make -f <user>.mk build
但就我而言,我有这个错误:
git submodule update --init
No submodule mapping found in .gitmodules for path 'paquete/static/lib/cgxp'
CONST_Makefile:1030: recipe for target '.git/modules/proyecto1/static/lib/cgxp/HEAD' failed
make: *** [.git/modules/proyecto1/static/lib/cgxp/HEAD] Error 1
我读了这个post
并尝试遵循它,但我不知道问题是什么。
如果我输入:
...# git ls-files --stage | grep 160000
这是命令行说的:
160000 e1097abee85078e0de1f8e0a4d5269e6a7a9f72f 0 cgxp
160000 7437277b10fbf23206ed75fd6d0924b61d6153be 0 cgxp2
160000 7437277b10fbf23206ed75fd6d0924b61d6153be 0 paquete/static/lib/cgxp
我想我只需要其中之一。
有什么可以帮助我的吗??
我以前的回答是关于从索引中删除该条目,因为 .gitmodules 没有引用它。
git rm --cached paquete/static/lib/cgxp
但是请检查 .gitmodules
的内容,看看是否应该有一个 "cgxp" 存储库。
如果您找到它的 url,您可以通过以下方式将其添加回来:
git submodule add -- /url/of/cgxp paquete/static/lib/cgxp