Comments (5)
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.
Had to do npm cache clean
to get it installing the original karma-jasmine
correctly again.
from karma-jasmine.
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.
[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.
←[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)
- Timeout when running Karma test in Angular 10 project with socket.io-client installed
- spec selection does not work anymore HOT 1
- DOMTestComponentRenderer.insertRootElement when mocking document.querySelectorAll HOT 1
- jasmine's failFast not working in 4.0.1
- Sends report before tests finish running HOT 1
- Unused packages detected in the karmajasmine project on Tag: v4.0.1 HOT 1
- Add CI/CD with GitHub Actions HOT 1
- specFilter causes timeout with large amount of tests HOT 1
- Jasmine 4 support? HOT 1
- Reestablish CI/CD with GitHub Actions HOT 1
- Duplicate error messages (reopen)
- Linting Should Run in Its Own Workflow
- Establish a Beta Release HOT 14
- Convert tools/integration-tests.sh to a cross-platform script HOT 3
- Update eslint-config-standard HOT 4
- Uncaught (in promise) Type Error: Cannot read properties of null (reading 'jasmineMessage') HOT 3
- Opening Context.html window raises an error for parentWindow.karma object "Cannot read property 'info' of undefined" HOT 1
- Support for Jasmine 5 HOT 2
- Add doc deprecation for karma-jasmine with recommendations
- Karma failing with CI/CD
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from karma-jasmine.