Ross Coundon
12/23/2021, 12:44 PMsst deploy
and the process hangs at the point where it bundles the first function in the stack.
Setting up sst deploy
within a debug launch config I can see that it gets to this point in Functions.js:
else {
const bundled = core_2.Runtime.Handler.bundle({
id: logicalId,
root: root.appPath,
handler: handler,
runtime: runtime.toString(),
srcPath: srcPath,
bundle: props.bundle,
});
We've tried this on a couple of different machines, one Windows and one Mac with the same result.
I can run sst start
successfully so it seems like a bundling problem, which the point of hanging would imply too.
sst-debug.log looks like this when running deploy from a debugger - output is pratically identical doing a straight sst deploy
(last line is a console log in the stack)
[2021-12-23T12:40:17.939] [DEBUG] default - SST: 0.54.4
[2021-12-23T12:40:17.942] [DEBUG] default - CDK: 1.132.0
[2021-12-23T12:40:17.945] [INFO] default - Using stage: pjn-dev
[2021-12-23T12:40:17.948] [INFO] default - [90mPreparing your SST app[39m
[2021-12-23T12:40:18.181] [DEBUG] core - synth {
output: '.build/cdk.out',
app: 'node .build/run.js',
rollback: true,
roleArn: undefined,
verbose: 0,
noColor: false
}
[2021-12-23T12:40:18.392] [TRACE] cdk - Debugger attached.
[2021-12-23T12:40:20.742] [TRACE] cdk - Debugger attached.
[2021-12-23T12:40:42.010] [TRACE] cdk - Running locally? false
We're running sst v0.54.4. Any thoughts?Ross Coundon
12/23/2021, 12:45 PMRoss Coundon
12/23/2021, 12:46 PMRoss Coundon
12/23/2021, 12:51 PMthdxr
12/23/2021, 1:04 PMthdxr
12/23/2021, 1:04 PMRoss Coundon
12/23/2021, 1:20 PMthdxr
12/23/2021, 5:57 PMthdxr
12/23/2021, 5:57 PMthdxr
12/23/2021, 5:58 PMthdxr
12/23/2021, 6:00 PMRoss Coundon
12/23/2021, 8:10 PM