Coder Social home page Coder Social logo

Comments (9)

davidbanham avatar davidbanham commented on August 24, 2024

I've replicated the behaviour, but haven't been able to diagnose why it's happening as yet. I'm not sure what could have changed to produce this.

@sgentle Can you take a look and see if you can figure out what's going on?

from winston-s3.

renewooller avatar renewooller commented on August 24, 2024

I'm getting the same problem.

from winston-s3.

Dovgopol avatar Dovgopol commented on August 24, 2024

Same problem here. It's really annoying. There is no way how to bind this module here, I always get an empty structure when require for any version.

@fisnik Could you please share the compiled version of winston-s3 (should be just one JS file)? In the meantime, I'll try to do the same and compile coffeescript code right now

from winston-s3.

fisnik avatar fisnik commented on August 24, 2024

@Dovgopol I moved my logs to a linked folder on an EBS backed AWS machine - not using S3 anymore.

from winston-s3.

Dovgopol avatar Dovgopol commented on August 24, 2024

@fisnik Yeak ok, I switched to winston-papertrail instead. Thanks anyway :)

from winston-s3.

davidbanham avatar davidbanham commented on August 24, 2024

Hey guys, apologies this has gone on so long.

This was due to the coffee-script shim. Coffee-script made changes a while ago, and I guess the version declaration I had wasn't sufficient to get the version the shim needed. Should be all fixed now.

from winston-s3.

skpulla avatar skpulla commented on August 24, 2024

I was getting the same error when I tried to use the example code. But using the following line fixed it.

var winstonS3 = require('winston-s3');

instead of

var winstonS3 = require('winston-s3').S3;

Is this the expected behaviour? If so, can you please update the example in the readme file?

from winston-s3.

davidbanham avatar davidbanham commented on August 24, 2024

Good catch! I guess that example was out of date and nobody noticed until now. Thanks for picking it up.

from winston-s3.

skpulla avatar skpulla commented on August 24, 2024

@davidbanham Cheers

from winston-s3.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.