You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function in sst/runtime/handlers.js fails with error. Because of this error Container functions can never be rebuilt after their initial build.
Error: EBUSY: resource busy or locked, rmdir '<PATH>\.sst\artifacts\c8fac2e4493120b801bf978ade5356a1528e0ad2c9'
// handlers.jsasyncbuild(functionID,mode){asyncfunctiontask(){constfunc=useFunctions().fromID(functionID);if(!func)return{type: "error",errors: [`Function with ID "${functionID}" not found`],};consthandler=result.for(func.runtime);constout=path.join(project.paths.artifacts,functionID);awaitfs.rm(out,{recursive: true,force: true});// This boy right hereawaitfs.mkdir(out,{recursive: true});bus.publish("function.build.started",{ functionID });if(func.hooks?.beforeBuild)awaitfunc.hooks.beforeBuild(func,out);constbuilt=awaithandler.build({
functionID,
out,
mode,props: func,});}},
This function in
sst/runtime/handlers.js
fails with error. Because of this error Container functions can never be rebuilt after their initial build.Error: EBUSY: resource busy or locked, rmdir '<PATH>\.sst\artifacts\c8fac2e4493120b801bf978ade5356a1528e0ad2c9'
https://discord.com/channels/983865673656705025/1305445123668181053/1305445123668181053
The text was updated successfully, but these errors were encountered: