Removing a module output makes the module fail when used

This error appears when removing an output from a module:
Screen Shot 2021-09-24 at 10.44.43 AM

Steps to reproduce:

  • Create a module
  • Add an output, here output2
  • Use the module in an application, here testModule1
  • Remove an output from the module, here output2
  • See the error

The behaviour is still the same, just that the error is shown.

Hi Adrien, we were able to reproduce this behavior on our end. It looks like it clears up if you delete the module in the parent app and create a new one.

We'll build out a repro app/bug report and a fix should be merged soon!

Thank you :slight_smile:

I'm still seeing false warnings about deleted inputs/outputs even after deleting and re-adding the module, but the module doesn't completely crash.

Hey @Ara! This is indeed something we still need to fix, I've bumped the ticket internally, thanks for resurfacing this!

Hey @Kabirdas, any update?

Hey @WillfromFizz! Unfortunately, no updates yet :pensive: but the issue hasn't been forgotten, we'll let you know here when there's a fix!