creationix / wheat

Wheat is a blog engine for coders written in node.JS
Other
1.36k stars 134 forks source link

submodule error #4

Closed na closed 14 years ago

na commented 14 years ago

I get this error when ./install.sh

Loading dependencies as git submodules...
fatal: reference is not a tree: d9637b1da5029fe4a7a5a95761cf40381fef131b
Unable to checkout 'd9637b1da5029fe4a7a5a95761cf40381fef131b' in submodule path 'lib/wheat/connectpkg'

from http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#submodules Pitfalls with submodules it looks like a change to connectpkg has not been published yet.

na commented 14 years ago

I got it running by checking out the latest tag: git checkout v0.1.0 ./install.sh

creationix commented 14 years ago

The tag was point to the wrong place, try again.

garryyao commented 14 years ago

The problem is still there with HEAD.

TooTallNate commented 14 years ago

I also just tried with a fresh git clone and got the same error...

I've forked and updated the commit refs in my fork: http://github.com/TooTallNate/wheat/commit/fd86660ea72c0f467b6c4dd467c08cc59dee2b06

creationix commented 14 years ago

Thanks TooTallNate, I just grabbed your code. Does this fix it for everyone?

TooTallNate commented 14 years ago

I think maybe you forgot to push?

markc commented 14 years ago

@na thanks for the hint. The connectpkg submodule still points to the old repo in .gitmodules and when I change it to senchalabs/connect.git I get this error...

Loading dependencies as git submodules...
fatal: reference is not a tree: d9637b1da5029fe4a7a5a95761cf40381fef131b
Unable to checkout 'd9637b1da5029fe4a7a5a95761cf40381fef131b' in submodule path 'lib/wheat/connectpkg'
creationix commented 14 years ago

Wheat no longer uses submodules for dependencies, but is installable via npm.