Local dependencies are not included in final zip file

Open
#434 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
node.js
Domain
cli

Research direction

Reproduce the packaging failure with Node 10.2.1, npm 6.1.0, and node-lambda 0.11.7 using a local dependency. Inspect the packaging step and the .lambda symlink or relative-path handling; it is done when local dependencies are present in the final zip with valid paths.

Written by the indexing model from the issue text.

Description

bug question

I might having which may be related to previous issue

Node version : 10.2.1
NPM version : 6.1.0
Node-lambda version : 0.11.7

When we use local dependencies they are not included in final package. Symlink crreated in .lambda folder is invalid. Relative path is invalid. It may be due to changes in npm which include relative and not absolute path in package.json

Dominant language
JavaScript
Stars
1.4k
Forks
185
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from motdotla/node-lambda

All issues in motdotla/node-lambda

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.