Hello again... I'm facing another issue today. Lay...
# help
h
Hello again... I'm facing another issue today. Layers are now failing to deploy. To avoid cyclic references, I've moved layers to its own stack - this setup worked fine until today. Now whenever I use
npx sst start
my layer stack breaks the deployment with
stack contains no resources.
I've even put an
sst.Function
with a dummy function in case that fixes the problem. Any ideas why it suddenly started to break?
Seems like the issue was with
node_modules
folder, no idea why, but after removing it and running
npm i
in the layer folder it suddenly started to work again.
f
hmm is it working after removing the dummy lambda function?
h
No, it made no difference, it was
node_modules
somehow it broke over night. Not entirely sure why.
a
npm was down for some time yesterday, that could have broken it. Try creating the layer again.
h
That could explain. Its all working now 🙂 thanks for the info!