chilts / awssum-amazon-cloudsearch

(deprecated: use aws-sdk) NodeJS module to talk to Amazon CloudSearch.
Other
5 stars 2 forks source link

Test Module Locations #3

Closed pboyer closed 8 years ago

pboyer commented 11 years ago

I needed to use:

var awssum = require('awssum');
var SearchService = awssum.load('../awssum-amazon-cloudsearch/awssum-amazon-cloudsearch').SearchService;
var DocumentService = awssum.load('../awssum-amazon-cloudsearch/awssum-amazon-cloudsearch').DocumentService;
var CloudSearch = awssum.load('../awssum-amazon-cloudsearch/awssum-amazon-cloudsearch').CloudSearch;

in order to use this module. I found the require mechanism shown in the test file to result in module loading errors in Node 0.8.20.

Thanks for your awesome project.

~Peter

chilts commented 11 years ago

Hi Peter,

I think you have a bit of a mix there before v0.12 (single immense AwsSum) and v1.0.0 (smaller pluggable AwsSum).

I'll go have a try and come back to you with a better way, since with the new AwsSum you won't need a lot of that boilerplate. :)

Hold one tick until I get time at lunch to get back to you. :)

Cheers, Andy

chilts commented 8 years ago

(deprecated: use aws-sdk)