Giter Site home page Giter Site logo

Comments (4)

pamelafox avatar pamelafox commented on June 17, 2024 2

Okay, I'll close this. Perhaps others will figure it out in the future.

FYI, there is one issue remaining with the server on Beanstalk: rendering emojis (which constitute our data labels on the graph). Linux servers don't seem to render much emojis by default, so I'll be experimenting with putting the EmojiOne font on there. I imagine most others won't run into that, but just in case someone does a google search for such a thing... :)

from node-export-server.

mccartney avatar mccartney commented on June 17, 2024 1

@pamelafox - by any chance were you using a Mac to deploy to Lambda?
If so, please see a relevant comment in #81

from node-export-server.

pamelafox avatar pamelafox commented on June 17, 2024

I have now put it on Beanstalk and it seems to work.

FYI to others putting it on BeanStalk: I wasn't able to get the permissions to work for npm install, so I had to use an ebextension file to chown the relevant directory.

I put a file named 00_postdeployscript.config in .ebextensions in my project folder:

files:
  "/opt/elasticbeanstalk/hooks/appdeploy/post/99_fix_node_permissions.sh":
    mode: "000755"
    owner: root
    group: root
    content: |
      #!/usr/bin/env bash
      chown -R nodejs:nodejs /tmp/deployment/*

I also specified the ACCEPT_HIGHCHARTS_LICENSE environment variable under Configuration -> Software Configuration.

from node-export-server.

larsac07 avatar larsac07 commented on June 17, 2024

@pamelafox I'm sorry, but we don't quite know why this only happens on AWS Lambda, but from what I can find on a quick search, it looks like several people are experiencing similar issues with EPIPE exceptions with Lambda.

I'm glad you successfully set it up on EB :)

from node-export-server.

Related Issues (20)

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.