spsdco / notes

Awesome note taking.
MIT License
560 stars 54 forks source link

Issue with springseed #166

Closed Brendonslash closed 9 years ago

Brendonslash commented 10 years ago
Error: module "ast-types" not found from "/home/dheeraj/springseed/node_modules/analytics-                  node/node_modules/superagent-proxy/node_modules/proxy-agent/node_modules/pac-proxy- agent/node_modules/pac-resolver/node_modules/degenerator/index.js"
  at notFound (/home/dheeraj/springseed/node_modules/browserify/index.js:812:15)
  at /home/dheeraj/springseed/node_modules/browserify/index.js:762:23
  at /home/dheeraj/springseed/node_modules/browserify/node_modules/browser-    resolve/index.js:184:24
  at /home/dheeraj/springseed/node_modules/browserify/node_modules/resolve/lib/async.js:50:14
  at process     (/home/dheeraj/springseed/node_modules/browserify/node_modules/resolve/lib/async.js:119:43)
  at /home/dheeraj/springseed/node_modules/browserify/node_modules/resolve/lib/async.js:128:21
  at load      (/home/dheeraj/springseed/node_modules/browserify/node_modules/resolve/lib/async.js:60:43)
  at /home/dheeraj/springseed/node_modules/browserify/node_modules/resolve/lib/async.js:66:22
  at /home/dheeraj/springseed/node_modules/browserify/node_modules/resolve/lib/async.js:21:47
  at Object.oncomplete (fs.js:107:15)

make: *** [public/application.js] Error 1

This is the error I get when I do make I'm not familiar with ruby so please tell the solution thanks.

zackp30 commented 10 years ago

Did you only run make? :P

Brendonslash commented 10 years ago
npm ERR! git clone git://github.com/ariya/esprima.git Cloning into bare repository '/home/dheeraj/.npm/_git-remotes/git-github-com-ariya-esprima-git-9077e517'...
npm ERR! git clone git://github.com/ariya/esprima.git fatal: unable to connect to github.com:
npm ERR! git clone git://github.com/ariya/esprima.git github.com[0: 192.30.252.131]: errno=Connection timed out
npm ERR! Error: Command failed: Cloning into bare repository '/home/dheeraj/.npm/_git-remotes/git-github-com-ariya-esprima-git-9077e517'...
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 192.30.252.131]: errno=Connection timed out

I have removed the previous copy and made a fresh install

git submodule update --init
make

And the above error was shown, but when I cloned into the repo ariya/esprima.gi it was working well. So possibly it is not a network issue.

nitishch commented 9 years ago

I think your system is configured to access Github using http:// but not with git:// protocol. npm, as you can see in the error messages is trying to use git:// protocol. So, run the command

git config --global url."https://".insteadOf git://

and then run the installation commands again or better start with a fresh install :wink: