Saturday, March 26, 2011

Error trying to run AHR (NodeJS) EC2 on new default EC2 Instance

I am attempting to play around with Node.js on EC2 and haven't been able to get it working yet.
I have installed the AHR package using NPM but cannot even run the most basic example:

[ec2-user src]$ node
> var request = require('ahr');
ReferenceError: provide is not defined
    at /home/ec2-user/src/node_modules/ahr/lib/ahr.js:810:49
    at Object.<anonymous> (/home/ec2-user/src/node_modules/ahr/lib/ahr.js:812:1)
    at Module._compile (module.js:404:26)
    at Object..js (module.js:410:10)
    at Module.load (module.js:336:31)
    at Function._load (module.js:297:12)
    at require (module.js:348:19)
    at [object Context]:1:15
    at Interface.<anonymous> (repl.js:171:22)
    at Interface.emit (events.js:64:17)

There was no mention of this anywhere on their site - but I have determined that I was missing some dependencies:
  • require-kiss
  • futures
  • buffer-js
After all of that - it still isn't working, not sure if it is the version of nodeJS I am running or what...

5 comments:

  1. Did you ever resolve this? I'm faffing along the same lines

    ReplyDelete
  2. Hard Rock Hotel and Casino Tulsa - MapyRO
    Find your nearest 평택 출장마사지 Casino in Tulsa, MS with 14 tables games, and great rates. See 군산 출장샵 1287 traveler reviews, 64 전라남도 출장샵 photos and blog posts. Rating: 3.7 강원도 출장마사지 · ‎12 서귀포 출장마사지 votes

    ReplyDelete
  3. King Of Casino - Aloha, CT (813) 585-4390
    King of Casino, good air jordan 18 retro red Aloha, how to get air jordan 18 retro men CT (813) 585-4390. The Resort Casino & Hotel in Aloha jordan 18 white royal blue clearance is air jordan 18 retro yellow super site a luxury hotel and 토토왕뚜껑 casino located on the beach in

    ReplyDelete
  4. Casinos in the UK - How to find good games - GrizzGo
    So, gri-go.com what do we mean by “casinos in https://deccasino.com/review/merit-casino/ the UK”? to find a 1xbet app casino and live casino games on a mobile phone herzamanindir device in 2021. septcasino

    ReplyDelete
  5. One of the extremely visited casinos in South Korea is the Alpensia Casino and Resort. This ski resort options two hotels and served as the location for the opening and shutting ceremonies of the 2018 Winter Olympics. Service attendants of the resort 1xbet communicate fluent English, Chinese, Japanese, and other international languages. Located on the 6th ground of the Shilla Hotel, the foreigner-only on line casino is superbly appointed and offers its guests with different betting options.

    ReplyDelete