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

Unable to build and test karma using source on Ubuntu 16.04 #2924

Closed
spurti-chopra opened this issue Jan 31, 2018 · 2 comments
Closed

Unable to build and test karma using source on Ubuntu 16.04 #2924

spurti-chopra opened this issue Jan 31, 2018 · 2 comments

Comments

@spurti-chopra
Copy link

Expected behaviour

Build and test via npm should be successful on Ubuntu 16.04

Actual behaviour

Build showing several warnings related to peer dependency

Environment Details

Target Platform: Ubuntu 16.04
Architecture: Intel (x86_64) and ppc64le
NPM version v9.4.0

Steps to reproduce the behaviour

Followed below steps on x86_64 ubuntu 16.04

$curl https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh| bash
$source ~/.nvm/nvm.sh
$nvm install stable
$nvm use stable
cloned karma repository
$ npm install
$ npm run init
$ npm test

npm install shows following warning related to peer dependencies:
npm WARN [email protected] requires a peer of karma@>=0.10.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of watchify@>=3 <4 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of karma@>=0.9 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of karma@>=0.10.9 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of karma@>=0.11.14 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of karma@>=0.9 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of karma@>=0.9 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of karma@>=0.9 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of karma@* but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of karma@>=0.9 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of karma@>=0.10 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of karma@>=0.13 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of karma@>=0.9 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of karma@>=0.9 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of karma@>=0.9 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of karma@>=0.9 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):

npm test failures are:
_488 passing (6s)
4 failing

  1. helper
    browserFullNameToShort
    should parse IE7:

    AssertionError: expected 'IE 7.0.0 (Windows Vista.0.0)' to equal 'IE 7.0.0 (Windows Vista 0.0.0)'

    • expected - actual

    -IE 7.0.0 (Windows Vista.0.0)
    +IE 7.0.0 (Windows Vista 0.0.0)

    at Context.it (test/unit/helper.spec.js:76:16)

  2. helper
    browserFullNameToShort
    should parse IE8:

    AssertionError: expected 'IE 8.0.0 (Windows 7.0.0)' to equal 'IE 8.0.0 (Windows 7 0.0.0)'

    • expected - actual

    -IE 8.0.0 (Windows 7.0.0)
    +IE 8.0.0 (Windows 7 0.0.0)

    at Context.it (test/unit/helper.spec.js:84:16)

  3. helper
    browserFullNameToShort
    should parse IE9:

    AssertionError: expected 'IE 9.0.0 (Windows 7.0.0)' to equal 'IE 9.0.0 (Windows 7 0.0.0)'

    • expected - actual

    -IE 9.0.0 (Windows 7.0.0)
    +IE 9.0.0 (Windows 7 0.0.0)

    at Context.it (test/unit/helper.spec.js:92:16)

  4. helper
    browserFullNameToShort
    should parse IE10:

    AssertionError: expected 'IE 10.0.0 (Windows 8.0.0)' to equal 'IE 10.0.0 (Windows 8 0.0.0)'

    • expected - actual

    -IE 10.0.0 (Windows 8.0.0)
    +IE 10.0.0 (Windows 8 0.0.0)

    at Context.it (test/unit/helper.spec.js:100:16)

Warning: Task "mochaTest:unit" failed. Use --force to continue.
Aborted due to warnings._

I am running this with default configurations. Please let me know if I am missing something.
Thanks !

@lusarz
Copy link
Contributor

lusarz commented May 15, 2018

@spurti-chopra I think it's fixed with this pr.

@johnjbarton
Copy link
Contributor

Please reopen if not fixed.

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

3 participants