Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erroneous git repository path in npm #8

Open
apricat opened this issue Jan 12, 2015 · 3 comments
Open

Erroneous git repository path in npm #8

apricat opened this issue Jan 12, 2015 · 3 comments

Comments

@apricat
Copy link

apricat commented Jan 12, 2015

Hi! We are having issues with our Jasmine Ajax installation since December. On npm install, we get git errors where git://github.com/pivotal/jasmine-ajax is called.

npm install

npm WARN `git config --get remote.origin.url` returned wrong result (git://github.com/pivotal/jasmine-ajax) undefined 
npm WARN `git config --get remote.origin.url` returned wrong result (git://github.com/pivotal/jasmine-ajax) undefined 
npm ERR! git clone git://github.com/pivotal/jasmine-ajax undefined 
npm ERR! git clone git://github.com/pivotal/jasmine-ajax undefined 
npm ERR! Failed using git.

git://github.com/pivotal/jasmine-ajax seems to now redirect to git://github.com/jasmine/jasmine-ajax.

This results in us getting the following error when attempting to run Karma tests:

Error: No provider for "framework:jasmine-ajax"! (Resolving: framework:jasmine-ajax)

Thank you!

@mentatxx
Copy link

I have got same issue here. I have installed karma-jasmine-ajax with --save-dev option

"jasmine-ajax": "~3.0.0",
"karma": "~0.12.31",
"karma-jasmine-ajax": "~0.1.4"

all dependencies are installed, but when i try to load framework, it failes find it:

frameworks: ['jasmine-ajax', 'jasmine', 'requirejs'],

Currently i have no idea why it happens, jasmine anf requires frameworks are loaded ok

Error: No provider for "framework:jasmine-ajax"! (Resolving: framework:jasmine-ajax)

@hasentopf
Copy link

npm ERR! git clone git://github.com/pivotal/jasmine-ajax Cloning into bare repository '/Users/mathias/.npm/_git-remotes/git-github-com-pivotal-jasmine-ajax-8282d883'...
npm ERR! git clone git://github.com/pivotal/jasmine-ajax 
npm ERR! git clone git://github.com/pivotal/jasmine-ajax fatal: unable to connect to github.com:
npm ERR! git clone git://github.com/pivotal/jasmine-ajax github.com[0: 192.30.252.129]: errno=Operation timed out

Same issue. The redirect from github.com/pivotal/jasmine-ajax to github.com/jasmine/jasmine-ajax seems to have issues. I work with:

    "karma": "0.12.28",
    "karma-jasmine": "0.3.2",

@pdeegan
Copy link
Member

pdeegan commented Feb 4, 2015

Please see #9 and #10 to see if this recent merge fixes your issue. Otherwise, I'm happy to merge pull requests. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants