Comments (6)
What version of node are you running?
On 29 Oct 2015 22:45, "Andres Monge" [email protected] wrote:
node HttpsProxyAgent.js
/home/aemonge/user/studies/mongoose/node_modules/hoxy/node_modules/co/index.js:50
return new Promise(function(resolve, reject) {
^
ReferenceError: Promise is not defined
at Proxy.co (/home/aemonge/user/studies/mongoose/node_modules/hoxy/node_modules/co/index.js:50:14)
at Server. (/home/aemonge/user/studies/mongoose/node_modules/hoxy/lib/proxy.js:244:23)
at Server.emit (events.js:98:17)
at HTTPParser.parser.onIncoming (http.js:2109:12)
at HTTPParser.parserOnHeadersComplete as onHeadersComplete
at Socket.socket.ondata (http.js:1967:22)
at TCP.onread (net.js:528:27)—
Reply to this email directly or view it on GitHub
#63.
from hoxy.
aemonge@FHFXTY1 ~/u/s/mongoose> node -e 'console.log(process.versions.v8);' master↓-!?
3.14.5.9
aemonge@FHFXTY1 ~/u/s/mongoose> node --version master↓-!?
v0.10.37
aemonge@FHFXTY1 ~/u/s/mongoose> npm --version master↓-!?
1.4.28
from hoxy.
Well, there you have it. Hoxy dependency co needs a newer version of node.
from hoxy.
Got it !!!! Yei !!!! Thaks a LOT men !!!
By the way, I'm trying to log ( and store in mongoose ) all request to :5000 port, creating a proxy (or inversed one, don't really know the difference). What Incantiation would you recomend me to start with.
from hoxy.
By the way, I'm trying to log ( and store in mongoose ) all request to :5000 port, creating a proxy (or inversed one, don't really know the difference). What Incantiation would you recomend me to start with.
Try creating a reverse proxy to yourmachine:5000
, then in the intercept handler just console.log anything you want. Hope that helps!
from hoxy.
Thanks !!!!! Go it !!! (:
from hoxy.
Related Issues (20)
- How to change files stored by cycle.serve HOT 1
- Cannot read property 'port' of null HOT 1
- retrieving ISO-8859-1 webpage encoding problem
- 304 responses fail with as:'json' interceptor HOT 3
- staticServer in Cycle is never being closed.
- Not working with HTTPS HOT 1
- Ignore SSL HOT 1
- Drop Requests
- New maintained Proxy Library
- Proxy Server crashing
- Question: Change target of reverse proxy depending on situation HOT 5
- https with upstream proxy HOT 3
- Hoxy is preventing Node from exiting HOT 2
- Promises don't seem to work alongside interception handlers at all HOT 1
- question HOT 2
- has Filter assignment domain?
- Missing [missing_subjectAltName] in ssl certificate in Chrome 58
- How to proxy multiple subdomains HOT 4
- certAuthority filter option
- Port added even if not necessary (http:80 / https:443) HOT 1
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 hoxy.