I got "Error: goog.require could not find: ..."
If you change dependency structure of your application, you should run
chrome/content/calcdeps.sh that regenerates file
chrome/content/deps.js. This file is used for selecting files that
must be loaded during startup.
How can I add a directory containing JavaScript files and libraries to
my project
You have to add it to calcdeps.sh script.
Why there are two chrome.manifest files
XULRunner 1.9 and 2.0 require different locations