Tagged: File resolve

Remove node_module Folder 0


Due to its folder nesting, Windows can’t delete the folder as its name is too long. To solve this, install RimRaf:

npm install rimraf -g

Go to your project folder and delete the node_modules folder easily with:

rimraf node_modules

File Resolving in Magento 2 (Static, Template, Script, …) : Clues for Debugging 0


When Magento 2 wants to find a view file from the filesystem, it uses a fallback mechanism with a file resolving method. Unlike when a Class file is missing (where it gives an error) sometimes Magento 2 doesn’t provide an error message or so (even if error display is enforced).

I came up with a typo in the filename, which I didn’t notice, I got empty content area on frontend. No error messages. After a few debug sessions, found some clues on few interesting places to look on such a scenario.
(more…)