Why do modules I remove from my project re-appear?

Introduction

You try to remove the abc module from your project but it keeps on re-appearing in the Project Files pane. This is happening is that there is a require 'abc' line somewhere in your project and the Translator is pulling in the dependency automatically.

Issue [top]

Why do modules I remove from my project re-appear?

Solution [top]

Remove the require 'abc' line before you remove abc from your project and you should be fine.

Note: Be sure that you are not using any functions from the “abc” module — otherwise you will get errors when you try to call those functions (as they are no longer available).

If you get an error you can simply add the require statement for abc back in and the error will disappear.

Leave A Comment?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.