marstall / shim Goto Github PK
View Code? Open in Web Editor NEWwhile at the Boston Globe, I wrote a browser-compatibility testing tool that lets you surf the same pages simultaneously on all of them.
while at the Boston Globe, I wrote a browser-compatibility testing tool that lets you surf the same pages simultaneously on all of them.
Hi there!
After following the "INSTALLING SHIM", I got the following error when I tried to execute node shim.js
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'http-proxy'
at Function._resolveFilename (module.js:334:11)
at Function._load (module.js:279:25)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object.<anonymous> (/Users/thomasklein/webapps/shim/shim.js:2:13)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array.0 (module.js:470:10)
Maybe this is an issue of my network privileges. After running sudo ./configure_proxy.sh
I got the following output:
setting network interface privileges ...
Adding firewall rule to forward all port-80 WiFi passthrough traffic to localhost:3128 ...
net.inet.ip.forwarding: 1 -> 1
net.inet.ip.fw.enable: 1 -> 1
net.inet.ip.fw.verbose: 1 -> 1
sysctl: oid 'net.inet.ip.scopedroute' is read only
Do you see any possible misconfiguration?
I've got "node 0.6.7" and "npm 1.1.0-beta-10" installed along with current version of shim.
UPDATE: And of course I've got the module 'http-proxy' (v @0.8.0) installed.
Best,
Thomas
Not a serious issue but...
git clone [email protected]:marstall/shim.git
(as per the install instructions) doesn't work, however this link does:
git clone git://github.com/marstall/shim.git
I saw your note in the README about support for 10.7. I'm wondering if you have any idea if and when this support might be coming.
Thanks! This looks like an amazing tool!
-Brent
It should be possible to inject the weinre JS using this project to avoid the need to modify the website source code.
<script src="http://a.b.c:8081/target/target-script-min.js"></script>
But I guess this would be useful for other use case. Perhaps add a config where we can specify files and include their content in the header.
What do you think?
To make things clear, will be nice to chose a license. http://opensource.org/licenses/alphabetical
There's no mention on how to uninstall it. Any idea?
Got everything up and running per the readme. Was able to attach 3 devices (iPhone, Android phone, PC laptop) and get the initial page loaded up across all browsers. However, when any link was clicked on any given device, the other browsers did not refresh.
I could see the log messages that the new page was being broadcast, but nothing actually happened. Any suggestions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.