Comments (3)
What's the problem with using Chrome in your setup? If it's available, Karma should be able to use it.
PhantomJS is not a browser. It is not compatible with Firefox or Chrome. Your users do not use phantomjs to run your app. So it makes no sense to run tests in PhantomJS.
Also debugging test failures in PhantomJS is a PITA.
from angular-phonecat.
We should really just address the issue of using chrome or other modern browser in your environment. Karma can launch Chrome on windows, so I don't quite understand what's the problem.
from angular-phonecat.
Sorry to have created an issue of no real consequence. After a little fiddling to resolve the ENOENT error in Windows (also, I should have just RTFM), Karma works great from cmd
. I'm not really particular that it should work in Vagrant alone, and maybe it is foolhardy to try now when Chrome doesn't know how to work without GTK & X11 initialized. Hopefully in the future this will be frictionless...
The issue with using Chrome is, I realized, myself. There is a guide to run Chrome with xvfb, but I could not replicate the results. I just got varying errors with issue I tried to fix (yesterday it was missing fonts today it is something else) and keep getting output like:
[0521/213125:ERROR:nss_util.cc(90)] Failed to create /home/vagrant/.pki/nssdb directory.
[0521/213125:ERROR:nss_util.cc(90)] Failed to create /home/vagrant/.pki/nssdb directory.
Xlib: extension "RANDR" missing on display ":99".
[2207:2234:0521/213125:ERROR:nss_util.cc(90)] Failed to create /home/vagrant/.pki/nssdb directory.
[2207:2230:0521/213125:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd'
: no such name
[2207:2230:0521/213125:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd'
: no such name
[2207:2207:0521/213126:ERROR:object_proxy.cc(529)] Failed to call method: org.chromium.Mtpd.EnumerateStorages: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.
ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
[0521/213126:ERROR:nss_util.cc(90)] Failed to create /home/vagrant/.pki/nssdb directory.
[0521/213126:ERROR:nss_util.cc(90)] Failed to create /home/vagrant/.pki/nssdb directory.
[0521/213126:ERROR:nss_util.cc(90)] Failed to create /home/vagrant/.pki/nssdb directory.
[0521/213126:ERROR:nss_util.cc(90)] Failed to create /home/vagrant/.pki/nssdb directory.
[0521/213126:ERROR:nss_util.cc(90)] Failed to create /home/vagrant/.pki/nssdb directory.
[2207:2207:0521/213126:ERROR:extension_prefs.cc(1520)] Bad or missing pref 'version' for extension 'aohghmighlieiainnegkcijnfilokake'
[2207:2207:0521/213126:ERROR:extension_prefs.cc(1520)] Bad or missing pref 'version' for extension 'apdfllckaahabafndbhieahigkjlhalf'
[2207:2207:0521/213126:ERROR:extension_prefs.cc(1520)] Bad or missing pref 'version' for extension 'coobgpohoikkiipiblmjeljniedjpjpf'
[2207:2207:0521/213126:ERROR:extension_prefs.cc(1520)] Bad or missing pref 'version' for extension 'blpcfgokakmgnkcojhhkbfbldkacnbeo'
[2207:2207:0521/213126:ERROR:extension_prefs.cc(1520)] Bad or missing pref 'version' for extension 'pjkljhegncpnkpknbcohdijeoejaedia'
I don't know if this is just permissions but trying to run as root failed because Chrome would 'refuse' to do so...
from angular-phonecat.
Related Issues (20)
- An Issue on components' templateUrl HOT 1
- constantly Bower install is failing with ssl issue HOT 3
- Required version of chromedriver is out of date HOT 2
- Tutorial steps/chapters not corresponding to tutorial description/Live Demo/branches HOT 1
- No signing certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID "sand***@***.com" with a private key was found. HOT 1
- Error when running npm install at bower install HOT 4
- Unable to push the files into github HOT 1
- npm run protractor problem HOT 1
- . HOT 1
- Issues while running npm run protractor - Timed out waiting for the WebDriver server
- I found problem like this and I am confuse
- Failed to npm run protractor HOT 2
- APP_PORT=8000 \ PLAID_CLIENT_ID=5cfed2f083a3230012cc3bc8 \ PLAID_SECRET=50d8208d065548329b554188309fe8 \ PLAID_PUBLIC_KEY=7da6863a25ba7b7b7d9b1f3394e0b6 \ PLAID_PRODUCTS=transactions \ PLAID_COUNTRY_CODES=US,CA,GB,FR,ES \ PLAID_ENV=sandbox \ node index.js
- Problem with Anypoint Cli installation
- Use of AngularJS markup in URL-valued attribute HOT 1
- Protractor v5.4.2
- Inconsistent $http DI injection HOT 1
- Hello world HOT 1
- Error 400: invalid_request Permission denied to generate login hint for target domain. HOT 1
- How to Deploy this project on Server. HOT 3
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 angular-phonecat.