Last active
June 6, 2024 02:45
-
-
Save ManotLuijiu/c715571d9bf3bab58bad4be314771599 to your computer and use it in GitHub Desktop.
Configuration for new sst version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="./.sst/platform/config.d.ts" /> | |
export default $config({ | |
app(input) { | |
return { | |
name: "project-name", | |
removal: input?.stage === "production" ? "retain" : "remove", | |
home: "aws", | |
providers: { | |
aws: { | |
region: "ap-southeast-1", | |
}, | |
}, | |
}; | |
}, | |
async run() { | |
new sst.aws.Nextjs("ProjectName", { | |
domain: { | |
name: $app.stage === "production" ? "domain.com" : `${$app.stage}.domain.com`, | |
redirects: $app.stage === "production" ? ["www.domain.com"] : undefined, | |
}, | |
}); | |
}, | |
}); |
Error: Unexpected method 'appcast' called on Cask gfortran.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
rm -rfi $(brew --caskroom)/gfortran ─╯
examine files in directory /usr/local/Caskroom/gfortran?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apply executable permissions to the standalone binary in the target path for the installation.
sudo chmod +x /usr/local/bin/docker-compose