aws-lambda-rss-feed-from-s3 icon indicating copy to clipboard operation
aws-lambda-rss-feed-from-s3 copied to clipboard

node_modules directory for uploading to lambda?

Open turquoise-turtle opened this issue 7 years ago • 3 comments

Hi. I was wondering if you could help me out by including the node_modules folder with the project. I'm trying to make a podcast feed for my church because our old solution couldn't be used anymore and I found your project which is exactly what I was looking for. But I don't have access to a nodejs server, only really my macbook air so I can't continue with AWS' thing with downloading the dependencies into a node_modules folder. Could you upload the node_modules folder here or the unzipped folder that you uploaded to Lambda? Thank you heaps for this, may God bless you for using your skills as a developer for your church

turquoise-turtle avatar Feb 10 '18 04:02 turquoise-turtle

Including node_modules in my code here isn't really best practice, since the dependencies for my package are declared in the package.json file. You can simply fork my code here to build a similar podcast for your own church. Your macbook air should be totally sufficient for developing a small node app like this, just a quick look on google should be sufficient for guides on how to install node and npm to get you running with this. Let me know if you need any additional help getting this working.

bwjjohnson avatar Feb 10 '18 04:02 bwjjohnson

Thanks for replying quickly. That's the thing, I'm on a managed laptop that doesn't allow me to install anything. I tried using your project and Glitch.com, but it doesn't seem to download the node-modules folder with it. Thanks for your help

turquoise-turtle avatar Feb 10 '18 05:02 turquoise-turtle

I'd really like to help you out but providing you with the node_modules directory, but it's just not the right way to go about this. I'd recommend trying the following alternatives:

  1. Ask for admin privileges on your laptop so you can do development
  2. Use the suggestions here to get homebrew installed by your administrator
  3. Install homebrew/nodejs/npm without admin privileges
  4. Use Cloud9 to develop your app
  5. Download each node package manually from https://www.npmjs.com/

bwjjohnson avatar Feb 10 '18 05:02 bwjjohnson