Comments (5)
Hey @hbbtstar—neither I nor a colleague have been been able to reproduce this on a few different machines. My thought is that it's probably a network issue (maybe a temporary one); is this still an issue for you?
If it is still occurring, do me a favor and try these suggestions/answer these questions and report back:
- What OS are you using?
- Can you do a
make distclean
and then trymake
again? - If you have access to another network, can you reproduce this on both? (My guess is that this is it.)
- If you have access to another computer, can you reproduce this on it?
- If you have a
~/.netrc
, try moving it andmake distclean ; make
again. Does that fix it?
Just some suggestions off the top of my head; if these don't fix the issue, let me know and we can dig deeper.
from analytics.js-integrations.
Hi!
Thanks for this. Sorry for the late reply.
I'm using Linux Mint 17.1 as my OS.
the make distclean; make and removing the netrc didn't help, but I was able to solve the problem in a clean VM of Ubuntu (14.04 LTS)- the .netrc never worked for me though in the VM either. I ended up putting the github auth token in .bashrc and that resolved it (on the VM, the host still can't make successfully), if that helps anyone else who runs into a similar issue.
Also I checked the versions of NPM, n, git, curl, etc. from 17.1 against the Ubuntu VM, and they're all the same versions, so I have no idea what the difference might be.
After doing that, however, I am getting a different error when I run make test (still on the VM): I have not tried to add any custom integrations yet, this is the source as pulled from git.
Error loading resource http://localhost:56678/saucelabs.js (203). Details: Error downloading http://localhost:56678/saucelabs.js - server replied: Not Found
Failed to start mocha: Init timeout
Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///home/alourenco/analytics.js-integrations/node_modules/mocha-phantomjs/lib/mocha-phantomjs.coffee. Domains, protocols and ports must match.
make test-browser just hangs at a white blank HTML page with this source:
I can open another ticket for this if that's easier to check for you guys! Thanks for the quick turnaround, I know I'm a bit far forward timezone wise :)
from analytics.js-integrations.
@hbbtstar: Looks like there's an uncaught error before Mocha finishes loading—PhantomJS gives fairly poor feedback here, but the browser console is much more helpful. Usually it's either a syntax error or missing dependencies; since you're tracking master, it's probably missing dependencies. (My guess is, one of the dependencies you errored out on earlier is either missing or incomplete.)
Try running make distclean
and make test-browser
again; if that doesn't fix the issue, can you paste a screenshot of your browser console when running make test-browser
?
from analytics.js-integrations.
Hi ndhoule!
that did work, though I had to do it a number of times before it did. I did finally get it working by forcing all of the connections in git to go through SSH instead of HTTPS, and I noticed a couple of strange errors once I did that which led me to the root of the problem- you were right in your initial assessment, it was a network problem (specifically, my ISP's DNS servers). I switched to Google's DNS servers and everything on every machine is completely functional now.
Thank you so much for your help! You guys were fantastic, and I'm really glad the issue has been resolved.
from analytics.js-integrations.
Great, glad it's working for you now. Feel free to open another issue if anything else comes up.
from analytics.js-integrations.
Related Issues (20)
- Optimizely integration throwing a JS error in IE7 HOT 1
- Intercom: blank hash and array values are not allowed on Track HOT 1
- Mixpanel Integration should point to 2-latest instead of 2.2
- Add sourcemap for analytics.min.js HOT 1
- Add role property to satismeter and set traits to match spec HOT 1
- Satismeter role property and signUpDate HOT 1
- Add support for MailChimp goals/events HOT 1
- Optimizely Opt-Out errors analytics.js HOT 2
- AdRoll custom properties are getting lost HOT 4
- Adding Keen.io integration makes using keen's scoped keys impossible to use HOT 1
- Old keen.js integration HOT 4
- ecommercify facebook custom audiences
- Pass AnonymousID to Inside Vault
- Add Source Code of Pardot Integration to Repo HOT 5
- Conflict between Optimizely and Intercom integrations HOT 3
- Components: ambiguous bind reference
- Google Analytics: Test failures (causing master to fail) HOT 1
- LiveChat: Tests fail in PhantomJS HOT 1
- Intercom.io - "can't have more than 120 active events" error
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 analytics.js-integrations.