You copied all the examples into your project. These examples require the orthographic library, which isn’t a problem when you build from the editor—because it doesn’t build files that aren’t connected with the main collection. However, when you build using bob, it builds everything (and then ignores unconnected files when bundling).
When you use Build HTML5, it builds using bob, so you get an error when it tries to build all the collections in the project.