Skip to content

Serverless V4 error #52

Open
Open
@bernier

Description

@bernier

Maybe it's me and I'm just confused by the migration from Serverless V3 to Serverless V4
This setup is working great with Serverless V3.

But I have the following error with Serverless V4:

✖ Error: spawn java ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

In my serverless.yml

`plugins:

  • serverless-disable-functions
  • serverless-dynamodb
  • serverless-offline

serverless-dynamodb:
stages:
# - ${opt:stage, 'local'}
- 'local'
start:
host: 127.0.0.1
port: 8000
docker: false
inMemory: true
heapInitial: 200m
heapMax: 1g
migrate: true
seed: true
convertEmptyValues: true`

Am I missing anything?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs more infoFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions