Comments (4)
Is there any update on this? I have tried to achieve the fix in the mentioned issue but have had no success.
{
"name": "test",
"dependencies": {
"esbuild": "^0.21.4"
},
"devDependencies": {
"eslint": "^8.48.0",
"prettier": "^3.0.3",
"syncpack": "^11.2.1",
"turbo": "latest"
},
"private": true,
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev ios "
}
}
This is my root package.json but still I get
2024-06-06T18:15:22.720Z [INFO]: BackendSynthError: Unable to build the Amplify backend definition.
103
Resolution: Check your backend definition in the `amplify` folder for syntax and type errors.
104
Cause: Error: Failed to bundle asset amplify-d3hkzx89yodirg-main-branch-84deb20467/AmplifyBranchLinker/CustomResourceLambda/Code/Stage, bundle output is located at /codebuild/output/src3664567169/src/test/packages/backend/.amplify/artifacts/cdk.out/bundling-temp-6179cc509a26d893cc8c51e1ff8fe9d2840f1ea0578adcf1070f7cec38fa011d-error: Error: bash -c pnpm exec -- esbuild --bundle "/codebuild/output/src3664567169/src/test/node_modules/@aws-amplify/backend/lib/engine/branch-linker/lambda/branch_linker.js" --target=node18 --platform=node --outfile="/codebuild/output/src3664567169/src/test/packages/backend/.amplify/artifacts/cdk.out/bundling-temp-6179cc509a26d893cc8c51e1ff8fe9d2840f1ea0578adcf1070f7cec38fa011d/index.js" run in directory /codebuild/output/src3664567169/src/test exited with status 127
I've cleaned my project multiple times and regenerated lock files etc etc. Any help would be greatly appreciated!
from docs.
Hey @euan-cowie what package manager are you using with turbo?
from docs.
Hey @josefaidt, sorry for the late response, was recovering from a nasty flu!
I'm using pnpm.
from docs.
@euan-cowie can you try running that command with --debug
? do you experience a similar issue locally or is this only failing in the automated builds?
from docs.
Related Issues (20)
- Dropdown menu error when run locally HOT 1
- "Build settings" and "Environment variables" not accessible in console for Gen 1 App after Gen 2 update
- handling "CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED" with aws-amplify/auth
- [missing-page] HOT 1
- Add troubleshooting section for micro-frontend support
- Add troubleshooting section for UnexpectedSignInInterruptionException errors with Safari
- Where is the content about `cron jobs` on Amplify Gen2's documentation? HOT 2
- Monorepo documentation is incomplete/unclear HOT 3
- Confirm Sign Docs are Missing
- mistake monorepo root path
- How to use Amplify datastore in Ionic/Capacitor project?
- Fix S3 bucket policy example to prevent "action does not apply to any resources in statement" error
- Gen 2 Quickstart guide: having to refresh browser to see updates HOT 1
- Event Bridge example with L2 Rule construct instead of L1 Cfn HOT 3
- Gen 2 Quickstart guide: missing `npm install` when setting up local environment HOT 1
- Gen 2 Quickstart guide: add section on deleting app
- Update improper text regarding cacheControl changes in v6
- Default name for GRAPHQL_ENDPOINT is incorrect
- Migrating DataStore to Gen 2
- Amplify Gen 2 Angular Documentation needs updates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.