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

gulp test - error in plugin 'gulp-jasmine2-phantomjs' #13

Open
asiniy opened this issue Sep 7, 2015 · 1 comment
Open

gulp test - error in plugin 'gulp-jasmine2-phantomjs' #13

asiniy opened this issue Sep 7, 2015 · 1 comment

Comments

@asiniy
Copy link
Contributor

asiniy commented Sep 7, 2015

Hey!

I have cloned, npm installed and gulped your code. After that I've runned gulp test. This is the error:

asiniy@misha:~/projects/react-app-boilerplate$ gulp test
[00:56:23] Using gulpfile ~/projects/react-app-boilerplate/gulpfile.js
[00:56:23] Starting 'test'...
[00:56:23] Start running spec file:  /home/asiniy/projects/react-app-boilerplate/build/testrunner-phantomjs.html
[00:56:23] PhantomJS path:  /home/asiniy/projects/react-app-boilerplate/node_modules/phantomjs/lib/phantom/bin/phantomjs
Loading /home/asiniy/projects/react-app-boilerplate/build/testrunner-phantomjs.html
Jasmine ran in  0.004  seconds
1 spec, 1 failure
Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///home/asiniy/projects/react-app-boilerplate/node_modules/gulp-jasmine2-phantomjs/jasmine2-runner.js. Domains, protocols and ports must match.

Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///home/asiniy/projects/react-app-boilerplate/node_modules/gulp-jasmine2-phantomjs/jasmine2-runner.js. Domains, protocols and ports must match.

Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///home/asiniy/projects/react-app-boilerplate/node_modules/gulp-jasmine2-phantomjs/jasmine2-runner.js. Domains, protocols and ports must match.

Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///home/asiniy/projects/react-app-boilerplate/node_modules/gulp-jasmine2-phantomjs/jasmine2-runner.js. Domains, protocols and ports must match.


[00:56:23] gulp-jasmine2-phantomjs: ✖ Assertions failed in testrunner-phantomjs.html
[00:56:23] 'test' errored after 625 ms
[00:56:23] Error in plugin 'gulp-jasmine2-phantomjs'
Command failed: 

Ubuntu 14.04, node 0.10.25

Any help will be appreciated.
Thanks, Alex

@christianalfoni
Copy link
Owner

Could you try with latest version of node? I had the same issue, but having a hard time recalling exactly what it was

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

2 participants