Hello everyone... I'm trying to get my applicatio...
# help
j
Hello everyone... I'm trying to get my application to deploy via Seed, but I'm running into some errors that I'm not getting when I start, build and deploy locally. When I try to deploy, for my StaticSite, I get this error when it tries to install the npm deps:
Copy code
$ 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:
Copy code
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!
Ok, so I added an npm install as the first line in my build spec, whcih I didn't think would be necessary, but it seems to get me past my first issue
Copy code
before_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.
Copy code
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.