Build fails - manifest-creator.js does not exist
Closed this issue · 1 comments
nodomain commented
Running the build as described in the readme fails:
ubuntu@ip-172-31-131-28:~/src/podwhisperer/transcript-orchestration$ sam --version
SAM CLI, version 1.70.0
ubuntu@ip-172-31-131-28:~/src/podwhisperer/transcript-orchestration$ node --version
v16.19.0
ubuntu@ip-172-31-131-28:~/src/podwhisperer$ sam build --parallel
2023-01-13 21:25:04 Requesting to create CFN template arn:aws:serverlessrepo:us-east-1:145266761615:applications/ffmpeg-lambda-layer/1.0.0 in serverless application repo...
2023-01-13 21:25:05 Requested to create CFN template arn:aws:serverlessrepo:us-east-1:145266761615:applications/ffmpeg-lambda-layer/1.0.0 in serverless application repo.
Below nested stacks(s) specify non-local URL(s), which are unsupported:
- FfmpegLambdaLayer
Skipping building resources inside these nested stacks.
2023-01-13 21:25:05 Requesting to create CFN template arn:aws:serverlessrepo:us-east-1:145266761615:applications/ffmpeg-lambda-layer/1.0.0 in serverless application repo...
2023-01-13 21:25:05 Requested to create CFN template arn:aws:serverlessrepo:us-east-1:145266761615:applications/ffmpeg-lambda-layer/1.0.0 in serverless application repo.
Building codeuri: /home/ubuntu/src/podwhisperer/transcript-orchestration runtime: nodejs16.x metadata: {'BuildMethod': 'esbuild', 'BuildProperties': {'Minify': False, 'Target': 'es2020', 'Sourcemap': True, 'EntryPoints': ['functions/s3-keys/app.ts']}} architecture: arm64 functions: TranscriptOrchestration/S3KeysFunction
Building codeuri: /home/ubuntu/src/podwhisperer/transcript-orchestration runtime: nodejs16.x metadata: {'BuildMethod': 'esbuild', 'BuildProperties': {'Minify': False, 'Target': 'es2020', 'Sourcemap': True, 'EntryPoints': ['functions/transcript-processor/app.ts']}} architecture: arm64 functions: TranscriptOrchestration/TranscriptProcessorFunction
Building codeuri: /home/ubuntu/src/podwhisperer/transcript-orchestration runtime: nodejs16.x metadata: {'BuildMethod': 'esbuild', 'BuildProperties': {'Minify': False, 'Target': 'es2020', 'Sourcemap': True, 'EntryPoints': ['functions/audio-transcoder/app.ts']}} architecture: x86_64 functions: TranscriptOrchestration/TranscoderFunction
Building codeuri: /home/ubuntu/src/podwhisperer/transcript-orchestration runtime: nodejs16.x metadata: {'BuildMethod': 'esbuild', 'BuildProperties': {'Minify': False, 'Target': 'es2020', 'Sourcemap': True, 'EntryPoints': ['functions/manifest-creator.js']}} architecture: arm64 functions: TranscriptOrchestration/ManifestCreatorFunction
Building codeuri: /home/ubuntu/src/podwhisperer/transcript-orchestration runtime: nodejs16.x metadata: {'BuildMethod': 'esbuild', 'BuildProperties': {'Minify': False, 'Target': 'es2020', 'Sourcemap': True, 'EntryPoints': ['functions/pull-request/app.ts']}} architecture: x86_64 functions: TranscriptOrchestration/PullRequestFunction
Running NodejsNpmEsbuildBuilder:CopySource
Running NodejsNpmEsbuildBuilder:CopySource
Running NodejsNpmEsbuildBuilder:CopySource
Running NodejsNpmEsbuildBuilder:CopySource
Running NodejsNpmEsbuildBuilder:CopySource
Running NodejsNpmEsbuildBuilder:NpmInstall
Running NodejsNpmEsbuildBuilder:NpmInstall
Running NodejsNpmEsbuildBuilder:NpmInstall
Running NodejsNpmEsbuildBuilder:NpmInstall
Running NodejsNpmEsbuildBuilder:NpmInstall
Running NodejsNpmEsbuildBuilder:EsbuildBundle
Running NodejsNpmEsbuildBuilder:EsbuildBundle
Running NodejsNpmEsbuildBuilder:EsbuildBundle
Running NodejsNpmEsbuildBuilder:EsbuildBundle
Running NodejsNpmEsbuildBuilder:EsbuildBundle
Build Failed
Error: NodejsNpmEsbuildBuilder:EsbuildBundle - entry point /tmp/tmpqdo0lygm/functions/manifest-creator.js does not exist
nodomain commented
After sleeping and taking a ☕ it was obvious where to fix this ;)