Coder Social home page Coder Social logo

aws-lambda's Introduction

aws-lambda

aws-lambda's People

Contributors

bjpublic avatar lacti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

seolroh cation98

aws-lambda's Issues

402-blog-dynamodb 할때 sls dynamodb install 다운 안되는 이슈 있습니다.

해결 방안은 99x/serverless-dynamodb-local#294 에서 참고 했습니다.

https://s3.us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.tar.gz에서 tar.gz파일 다운 받아서 프로젝트내부의 .dynamodb에 압축풀면 sls dynamodb start 작동합니다.
압축풀면 압축파일명으로 생기는 폴더에서 .dynamodb로 파일 및 폴더 다 옮겨야합니다.
혹시 저처럼 안되시는분 계실까봐 이슈 남깁니다.

Mac OS 에서 nvm으로 node14 버전 다운 안되는 현상

Mac M1이후 칩에서는

nvm install v14 하면 아래처럼 404뜨고 무한 로딩 걸리는 현상 있습니다.

Downloading and installing node v14.21.3...
Downloading https://nodejs.org/dist/v14.21.3/node-v14.21.3-darwin-arm64.tar.xz...
curl: (22) The requested URL returned error: 404   

nvm-sh/nvm#3033 에서 관련 이슈 확인하세용!

해결법은 마지막에 14.15.0 버전 다운된다고 올려주신분 계십니다.

nvm install 14.15.0

301-photo-optimizer 예제에서 sls package 할때 jpegoptim.tar.gz 파일이 포함 안될 때

serverless.ts 항목중에 plugins을 절대로 예제의 순서대로 입력해야합니다.

정상 작동 코드

plugins: [ "serverless-plugin-scripts", "serverless-webpack" ],

package 압축 해제 모습
스크린샷 2023-05-30 오후 11 53 38

안되는 코드

plugins: [ "serverless-webpack", "serverless-plugin-scripts" ],

package 압축 해제 모습
스크린샷 2023-05-30 오후 11 53 25

serverless-plugin-scripts 를 serverless-webpack 뒤에 넣으면 포함이 안되네요.
딱히 package 할 때도 에러가 안나서, 엄청 고생했는데..

책에는 따로 순서에 대한 중요성 언급도 없어서 그냥 순서 상관없이 썼었는데..
이것 때문에 엄청 시간 소비했네요.

저처럼 책이나 예제처럼 그대로 안치고 자기 주관대로 연습하시는 분들 있으실까봐 적어놓습니다.

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.