Skip to content

TypeError: Cannot read properties of undefined (reading 'status') #27

@svicalifornia

Description

@svicalifornia

I'm using chalet to run a local Node dev server, as follows:

chalet run 'npm start' --name myapp

When I press Ctrl-C to kill the dev server, I see this error:

^C/opt/homebrew/lib/node_modules/chalet/lib/cli/run.js:60
          status = _this$_spawnSync.status,
                                    ^

TypeError: Cannot read properties of undefined (reading 'status')
    at startServer (/opt/homebrew/lib/node_modules/chalet/lib/cli/run.js:60:37)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions