Skip to content

fse package is hanging up #848

Open
Open
@mbozhilov-qb

Description

@mbozhilov-qb

Are you certain it's a bug?

  • Yes, it looks like a bug

Are you using the latest plugin release?

  • Yes, I'm using the latest plugin release

Is there an existing issue for this?

  • I have searched existing issues, it hasn't been reported yet

Issue description

I'm trying to package a lambda in a linux dev container run on a macos host but the packaging process starts hanging up at the following code line:

fse.ensureDirSync(workingReqsFolder);

image

Using the async equivalent seems to also be hanging up but the event loop is not blocked, therefore the count is updated.

Using fs instead fs-extra seems to be working as expected. Haven't tested the full workflow yet.

Service configuration (serverless.yml) content

N/A

Command name and used flags

serverless package

Command output

![image](https://github.com/user-attachments/assets/fa40cb9a-2aaf-43de-a75e-69a2f29704cc)

Environment information

Framework Core: 3.39.0 (local)
Plugin: 7.2.3
SDK: 4.5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions