This message was deleted.
# typescript
s
This message was deleted.
l
Have you tried removing the
protect
flag, rather than setting it to
false
?
r
ya
l
Actually, from the error message, it looks like you've removed the code, rather than changed the flag. Is that correct?
r
tried that but it still gives error
l
If you change the flag and remove the code at the same time, then effective you haven't changed the flag, so the error remoains.
The process requires two `up`s: one where you only change the flag, then a 2nd one where you remove the code and thus the resource.
1
r
oh sure i will try running separately and see if i am able to fix this
👍 1
Thanks works as expected
🎉 1