Packing Node.js functions for Lambda (node_modules)

Поделиться
HTML-код
  • Опубликовано: 2 янв 2025

Комментарии • 5

  • @coderlicious6565
    @coderlicious6565 Год назад +1

    I'm a little confused. In your description, you mention from your Serverless course, but you're manually using update-function-code from aws cli. Doesn't sls do this, when you use the deploy command from sls ?

    • @homanchan161
      @homanchan161 9 месяцев назад

      sls is a different service / company that uses aws lambda functions.

  • @Rahuljoshi-ub5ey
    @Rahuljoshi-ub5ey 2 года назад

    thanks! it help me to solve my issue

  • @Turnpost2552
    @Turnpost2552 2 месяца назад

    omg, I just wanted to get to the package.json file what is this nonsense.

  • @wabbott444
    @wabbott444 7 месяцев назад

    couldn't get this to work... kept getting: "errorType": "Runtime.ImportModuleError",
    "errorMessage": "Error: Cannot find module 'index'
    Require stack:
    - /var/runtime/index.mjs",