Timeline for magento 2 - In what case we need to run this command magento setup:di:compile?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 11, 2017 at 8:00 | comment | added | Wildcard27 |
@FabianSchmengler Have just created an Action to test. -- Loaded the page, error. -- Deleted di and generation folders, reloaded, works. -- Add new dependency, reload page, error. However no di folder is generated. -- Delete generation again, reload, works. Conclusion: Delete the generation folder after adding dependencies and you won't have to run setup:di:compile . If someone else could confirm this, that'd be awesome.
|
|
May 11, 2017 at 6:18 | comment | added | Fabian Schmengler |
@Wildcard27 what if you also delete the directories in var/generation ?
|
|
May 11, 2017 at 5:02 | comment | added | Wildcard27 | Can we please get some confirmation as to whether deleting the var/di folder trick works? It doesn't seem to for me | |
S Apr 29, 2017 at 19:24 | history | suggested | ladle3000 | CC BY-SA 3.0 |
multi tenant no longer is used in 2.0.6 and later
|
Apr 29, 2017 at 16:17 | review | Suggested edits | |||
S Apr 29, 2017 at 19:24 | |||||
Jul 18, 2016 at 15:59 | comment | added | Antonino Bonumore | setup:di:compile-multi-tenant has been removed | |
Mar 6, 2016 at 12:59 | history | answered | Fabian Schmengler | CC BY-SA 3.0 |