简体   繁体   中英

How to find source of faulty included file

Sencha Touch will complain about files it can't find a lot. Usually you just include the file. But sometimes the problem is a faulty include. So then you need to find where the file is being requested. Since it won't tell you where the require is located, that can be a problem.

Currently I have another such file. Tried something, it didn't work, now I want the files out of my project. But somehow Sencha Touch keeps looking for it. I've tried:

  • Find specifically in the locations it was included
  • Find in bootstrap.js
  • Find All for the file name
  • Rebuild of the project with Sencha CMD (complains about the same problem)
  • Empty cache and hard reload in Chrome
  • Other browsers, they crash even worse

Anyone have a trick to find remaining requires in Sencha Touch?

Look for the file name without the extension. As most requires don't have the file extension in them (including this one) I was not finding anything based on a search that included the extension...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM