这显然是一个子模块目录。我想在该应用程序的目录中有一个.submodule文件夹或/和.git文件夹,但我没有。 (我可以在finder上看到所有隐藏的文件)我拉动并推动所有内容都是最新的。
来自GitHub projects "un-clickable" in repo
的信息我已完成Errors prevented startup:
While processing files with webpack:webpack (for target os.osx.x86_64):
src/server.js: ./~/juice/index.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./package in
pathToProject/node_modules/juice
resolve file
pathToProject/node_modules/juice/package doesn't exist
pathToProject/node_modules/juice/package.js doesn't exist
pathToProject/node_modules/juice/package.jsx doesn't exist
pathToProject/node_modules/juice/package.css doesn't exist
pathToProject/node_modules/juice/package.less doesn't exist
resolve directory
pathToProject/node_modules/juice/package doesn't exist (directory default file)
pathToProject/node_modules/juice/package/package.json doesn't exist (directory description
file)
[pathToProject/node_modules/juice/package]
[pathToProject/node_modules/juice/package.js]
[pathToProject/node_modules/juice/package.jsx]
[pathToProject/node_modules/juice/package.css]
[pathToProject/node_modules/juice/package.less]
@ ./~/juice/index.js 15:18-38
它显示给我的唯一回购。
来自What does a grey icon in remote GitHub mean
的信息有趣的是,当我在我的仓库git remote -v
中执行此命令时,它引用了有问题的应用git submodule update --init
当我No submodule mapping found in .gitmodules for path 'Capstone Blog'
时,它知道哪个应用有问题。 git submodule deinit .
答案 0 :(得分:1)
我假设问题是由于我复制了曾经有.git文件和其他一些git文件的整个目录引起的。我将这些文件复制到新的仓库后删除了这些文件。哪个没有做任何事情,我仍然遇到同样的问题。所以这就是我所做的。
我使用<div class="row">
<label for="foo">Foo</label>
<input type="text" name="foo">
</div>
完全删除了该目录。
然后我复制了.stone文件中Capstone EXCEPT中的所有文件。
现在正在运作
答案 1 :(得分:0)