How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

AWS Codebuild: "No such file or directory"

calendar_today August 22, 2024 person Joe domain amazon-codebuild

I have an AWS Codebuild project that should build my eleventy project. When the project runs npx @11ty/eleventy I can the following error: /codebuild/output/src3281352166/src/node_modules/.bin/eleventy: line 1: ../@11ty/eleventy/cmd.js: No such file or directory This is my buildspec.yml : version: 0.2 phases: build: commands: - npm install - ls node_modules/@11ty/eleventy - npm run build npm run build will just run npx @11ty/eleventy . The ls command is just me trying to debug.

open_in_new Read original post