Skip to content
This repository was archived by the owner on Oct 14, 2021. It is now read-only.
This repository was archived by the owner on Oct 14, 2021. It is now read-only.

symlinks are not included in deployment package #45

@mzuniga84

Description

@mzuniga84

I'm trying to bundle the npm package sharp which has symlinks. The package is added to my bundle however the symlinks are not included, causing my lambda to error out:

{
  "errorMessage": "libvips-cpp.so.42: cannot open shared object file: No such file or directory",
  "errorType": "Error",
  "stackTrace": [
    "Object.Module._extensions..node (module.js:597:18)",
    "Module.load (module.js:487:32)",
    "tryModuleLoad (module.js:446:12)",
    "Function.Module._load (module.js:438:3)",
    "Module.require (module.js:497:17)",
    "require (internal/module.js:20:19)",
    "Object.<anonymous> (/var/task/node_modules/sharp/lib/constructor.js:10:15)",
    "Module._compile (module.js:570:32)",
    "Object.Module._extensions..js (module.js:579:10)"
  ]
}

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