Giter VIP home page Giter VIP logo

Comments (5)

chesleybrown avatar chesleybrown commented on August 14, 2024

Nevermind, this seems to be related to my pull request I created. Seems the build step isn't running when I install. Something I'm doing wrong no doubt, nothing wrong with karma-jasmine. Closing.

from karma-jasmine.

chesleybrown avatar chesleybrown commented on August 14, 2024

Had to do npm cache clean to get it installing the original karma-jasmine correctly again.

from karma-jasmine.

chesleybrown avatar chesleybrown commented on August 14, 2024

Realized I had to do my own grunt build and npm pack and then publish it on github so that I could install the patched module in our own project.

https://github.com/chesleybrown/karma-jasmine/releases/tag/0.3.1-pr61

Just posting this here in case anyone else has the same problem.

from karma-jasmine.

hasmukh avatar hasmukh commented on August 14, 2024
[15:11:18] Starting 'task:run-dist-pq-unit-tests'...
←[33m14 06 2016 15:11:19.319:WARN [watcher]: ←[39mPattern "D:\[Hasmukh Maniya]\[Projects]\IoT\IoT Security Services\user-profile\user-profile-web\node_modules\mocha\mocha.js" does not match any file.
←[33m14 06 2016 15:11:19.325:WARN [watcher]: ←[39mPattern "D:\[Hasmukh Maniya]\[Projects]\IoT\IoT Security Services\user-profile\user-profile-web\node_modules\karma-mocha\lib\adapter.js" does not match any file.
←[33m14 06 2016 15:11:19.326:WARN [watcher]: ←[39mPattern "D:/[Hasmukh Maniya]/[Projects]/IoT/IoT Security Services/user-profile/user-profile-web/bower_components/angular/angular.js" does not match any file.
←[33m14 06 2016 15:11:19.327:WARN [watcher]: ←[39mPattern "D:/[Hasmukh Maniya]/[Projects]/IoT/IoT Security Services/user-profile/user-profile-web/build/dist-d/app.unit.js" does not match any file.
←[32m14 06 2016 15:11:19.377:INFO [karma]: ←[39mKarma v0.13.22 server started at http://localhost:9876/
←[32m14 06 2016 15:11:19.508:INFO [launcher]: ←[39mStarting browser PhantomJS
←[32m14 06 2016 15:11:35.032:INFO [PhantomJS 2.1.1 (Windows 7 0.0.0)]: ←[39mConnected on socket /#EY6U7YHZFbFVWR9XAAAA with id 38308091
←[31mPhantomJS 2.1.1 (Windows 7 0.0.0) ERROR←[39m
  You need to include some adapter that implements __karma__.start method!

PhantomJS 2.1.1 (Windows 7 0.0.0): Executed 0 of 0←[31m ERROR←[39m (0.121 secs / 0 secs)


npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build-dist-q"
npm ERR! node v4.4.5
npm ERR! npm  v2.15.5
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build-dist-q: `gulp workflow:build-dist-q`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build-dist-q script 'gulp workflow:build-dist-q'.
npm ERR! This is most likely a problem with the user-profile-web package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp workflow:build-dist-q
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs user-profile-web
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls user-profile-web
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     D:\[Hasmukh Maniya]\[Projects]\IoT\IoT Security Services\user-profile\user-profile-web\npm-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:49 min
[INFO] Finished at: 2016-06-14T15:11:35+05:30
[INFO] Final Memory: 8M/106M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (npm run build-dist-q) on project user-profile-web: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]

Do you know why it is ?

from karma-jasmine.

maksimr avatar maksimr commented on August 14, 2024

@hasmukh

←[33m14 06 2016 15:11:19.325:WARN [watcher]: ←[39mPattern "D:[Hasmukh Maniya][Projects]\IoT\IoT Security Services\user-profile\user-profile-web\node_modules\karma-mocha\lib\adapter.js" does not match any file.

Seems you have problem with path. Do you have installed karma-mocha in node_module?
What say ls /node_modules/karma-mocha/lib?

from karma-jasmine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.