I am trying to “Deploy
apps stack using
dev environment” by running
yarn webiny deploy apps --env=dev and I always get this error “Command failed with exit code 1.” when building ‘siteSsr’.
yarn run v1.22.10 $ /Users/user/Documents/my-webiny-app/node_modules/.bin/webiny deploy apps --env=dev This is the first deploy of dev environment, so it may take a few minutes. 💡 Loaded dev environment from <projectRoot>/.env.json. ✔ Great! Your MongoDB is accessible. webiny Collecting components from the template. +0ms webiny Executing the template's components graph. +28ms webiny:lambdaRole Creating role '8611896b_my-webiny-app_apps_dev_lambdaRole'. +0ms webiny:lambdaRole Role '8611896b_my-webiny-app_apps_dev_lambdaRole' was successfully deployed to region 'ap-southeast-1'. +22s webiny:databaseProxy Building 'databaseProxy' +0ms webiny:databaseProxy Finished building 'databaseProxy' +6s webiny:databaseProxy Starting deployment of lambda '8611896b_my-webiny-app_apps_dev_databaseProxy' to the 'ap-southeast-1' region. +317ms webiny:databaseProxy Packaging lambda code from './databaseProxy/build' +6ms webiny:databaseProxy Creating lambda '8611896b_my-webiny-app_apps_dev_databaseProxy' in the 'ap-southeast-1' region. +350ms webiny:databaseProxy Successfully deployed lambda '8611896b_my-webiny-app_apps_dev_databaseProxy' in the 'ap-southeast-1' region. +602ms webiny:siteSsr Building 'siteSsr' +0ms error Command failed with exit code 1. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I am using node JS v15.4.0 on macOS Catalina.
Any help is greatly appreciated.