Joshua Oransky
02/16/2022, 8:04 PM$ cd /tmp/seed/source
INFO: Running before_build hook
$ echo "Before build"
0.08 s
$ cd website && npm install
82.19 s
$ npx sst build --stage dev --region us-west-2 --verbose
0.60 s
npm ERR! could not determine executable to run
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-02-16T19_55_37_431Z-debug.log
ERROR: There was an error synthesizing your app.
I have a build spec:
before_build:
- cd website && npm install
I feel like there's something simple I'm missing, but I can't figure it out.
Thanks for any help!Joshua Oransky
02/19/2022, 4:30 PMbefore_build:
- echo "Before build"
- npm install
- cd website && npm install
- cd client && npm install
- cd admin && npm install
However, now at the last build for my react-based admin, I get an out of memory error.
The build failed because the process exited too early. This probably means the system ran out of memory or someone called `kill -9` on the process.
Error: There was a problem building the "Admin" StaticSite.