-
Notifications
You must be signed in to change notification settings - Fork 8
Description
This issue seems to be deep inside of libnpmpack, specifically const destination = path.resolve(opts.packDestination, filename) on line 43 of lib/index.js. opts.packDestination is undefined. Adding a ?? "" fixes my issue locally.```
➤ YN0000: [@ldk/pipelines]: Error: Command (npm pack "/home/runner/work/ldk-pipelines/ldk-pipelines/packages/@ldk/pipelines") failed with status 1:
➤ YN0000: [@ldk/pipelines]: #STDERR> npm ERR! code ERR_INVALID_ARG_TYPE
➤ YN0000: [@ldk/pipelines]: #STDERR> npm ERR! The "path" argument must be of type string. Received undefined
➤ YN0000: [@ldk/pipelines]: #STDERR>
➤ YN0000: [@ldk/pipelines]: #STDERR> npm ERR! A complete log of this run can be found in:
➤ YN0000: [@ldk/pipelines]: #STDERR> npm ERR! /home/runner/.npm/_logs/2022-03-22T04_51_05_023Z-debug.log
➤ YN0000: [@ldk/pipelines]: #STDERR>
➤ YN0000: [@ldk/pipelines]: #STDOUT>
➤ YN0000: [@ldk/pipelines]: at ChildProcess. (/home/runner/work/ldk-pipelines/ldk-pipelines/node_modules/jsii-pacmak/lib/util.js:178:27)
➤ YN0000: [@ldk/pipelines]: at Object.onceWrapper (node:events:640:26)
➤ YN0000: [@ldk/pipelines]: at ChildProcess.emit (node:events:520:28)
➤ YN0000: [@ldk/pipelines]: at maybeClose (node:internal/child_process:1092:16)
➤ YN0000: [@ldk/pipelines]: at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)