blog.js icon indicating copy to clipboard operation
blog.js copied to clipboard

underscore missing

Open lsm opened this issue 14 years ago • 8 comments

Error: Cannot find module './underscore/underscore' at node.js:813:31 at findModulePath (node.js:744:5) at node.js:766:7 at node.js:775:7 at [object Object]. (node.js:712:32) at [object Object].emitError (node.js:266:13) at node.js:505:27 at [object Object].wait (node.js:324:11) at require (node.js:895:32) at Object. (/path/to/blog.js/b.js:4:1)

lsm avatar Jan 03 '10 09:01 lsm

Here is what you would have to do to resolve this problem, my particular solution requires underscore as a submodule, and in your case, i think you did not pull the submodule (a separate step to the git clone, not sure how to automate it, still learning git):

cd blog.js git submodule init git submodule update

It should work now :D

furtivefelon avatar Jan 05 '10 02:01 furtivefelon

thank you, it works;)

lsm avatar Jan 10 '10 09:01 lsm

Unfortunately I'm getting this when updating the submodules:

$ git submodule update fatal: reference is not a tree: 868c5c8d85b47f90502f4e470ea62740ec20b1f3 Unable to checkout '868c5c8d85b47f90502f4e470ea62740ec20b1f3' in submodule path 'underscore'

nasko avatar Sep 02 '10 11:09 nasko

I am getting

$ git submodule update Cloning into underscore... remote: Counting objects: 503, done. remote: Compressing objects: 100% (166/166), done. remote: Total 503 (delta 336), reused 503 (delta 336) Receiving objects: 100% (503/503), 137.57 KiB | 122 KiB/s, done. Resolving deltas: 100% (336/336), done. fatal: reference is not a tree: 868c5c8d85b47f90502f4e470ea62740ec20b1f3 Unable to checkout '868c5c8d85b47f90502f4e470ea62740ec20b1f3' in submodule path 'underscore'

shoan avatar Nov 01 '10 02:11 shoan

same error as nasko and shoan:

fatal: reference is not a tree: 868c5c8d85b47f90502f4e470ea62740ec20b1f3 Unable to checkout '868c5c8d85b47f90502f4e470ea62740ec20b1f3' in submodule path 'underscore'

pagameba avatar Nov 05 '10 12:11 pagameba

I'm getting the same error too:

ip-192-168-0-3:blog.js loretoparisi$ git submodule init ip-192-168-0-3:blog.js loretoparisi$ git submodule update ip-192-168-0-3:blog.js loretoparisi$ git submodule update fatal: reference is not a tree: 868c5c8d85b47f90502f4e470ea62740ec20b1f3 Unable to checkout '868c5c8d85b47f90502f4e470ea62740ec20b1f3' in submodule path 'underscore'

Any idea?

loretoparisi avatar Nov 28 '10 00:11 loretoparisi

SOLVED:

ip-192-168-0-3:blog.js loretoparisi$ git clone git://github.com/furtivefelon/underscore fatal: destination path 'underscore' already exists and is not an empty directory.

ip-192-168-0-3:blog.js loretoparisi$ rm -rf underscore/

ip-192-168-0-3:blog.js loretoparisi$ git clone git://github.com/furtivefelon/underscore Cloning into underscore... remote: Counting objects: 503, done. remote: Compressing objects: 100% (166/166), done. remote: Total 503 (delta 336), reused 503 (delta 336) Receiving objects: 100% (503/503), 137.57 KiB | 43 KiB/s, done. Resolving deltas: 100% (336/336), done.

ip-192-168-0-3:blog.js loretoparisi$ node blog.js Server at http://127.0.0.1:7001/

Enjoy!

loretoparisi avatar Nov 28 '10 00:11 loretoparisi

Hello it doesnt work anymore the underscore repository is missing :( ..blog.js [master]> git submodule update Cloning into 'underscore'... fatal: remote error: Repository not found.

ghost avatar Nov 23 '14 13:11 ghost