Meris Tarhanis
06/01/2022, 5:02 PMFrank
npm install the React app in seed.yml?Meris Tarhanis
06/01/2022, 5:23 PMFrank
color-adjust with print-color-adjust as the error suggest?Meris Tarhanis
06/01/2022, 5:26 PMFrank
CI=true sst build locally, do u get the same error?Meris Tarhanis
06/01/2022, 5:32 PMMeris Tarhanis
06/01/2022, 5:38 PMFrank
Meris Tarhanis
06/01/2022, 5:39 PMconst site = new ReactStaticSite(stack, "ReactSite", {
path: "frontend",
// Pass in our environment variables
environment: {
//TODO: Allow the Frontend to access the API
// REACT_APP_API_URL: api.customDomainUrl || api.url,
REACT_APP_REGION: app.region,
// REACT_APP_BUCKET: bucket.bucketName,
REACT_APP_USER_POOL_ID: auth.userPoolId,
REACT_APP_IDENTITY_POOL_ID: auth.cognitoIdentityPoolId,
REACT_APP_USER_POOL_CLIENT_ID: auth.userPoolClientId,
},
});Frank
Meris Tarhanis
06/01/2022, 5:40 PMFrank
path, can u add
buildCommand: "CI=false npm run build"Frank
buildCommand is npm run build, we are setting CI to false hereFrank
Meris Tarhanis
06/01/2022, 5:41 PMnpx sst build --stage dev?Meris Tarhanis
06/01/2022, 5:42 PMFrank
Meris Tarhanis
06/01/2022, 5:42 PMMeris Tarhanis
06/01/2022, 5:42 PMMeris Tarhanis
06/01/2022, 5:42 PMFrank
Frank
Meris Tarhanis
06/01/2022, 5:54 PM