After running polymer build
in my project's root director using the Polymer CLI 1.1.0, I get this error:
info: Clearing build/ directory...
error: Uncaught exception: Error: File not found with singular glob: /home/willie/Projects/World History Final Project/src/passport-app/passport-app.html
error: Error: File not found with singular glob: /home/willie/Projects/World History Final Project/src/passport-app/passport-app.html
at Glob.<anonymous> (/usr/lib/node_modules/polymer-cli/node_modules/glob-stream/index.js:41:11)
at Glob.g (events.js:292:16)
at emitOne (events.js:96:13)
at Glob.emit (events.js:188:7)
at Glob._finish (/usr/lib/node_modules/polymer-cli/node_modules/glob-stream/node_modules/glob/glob.js:172:8)
at done (/usr/lib/node_modules/polymer-cli/node_modules/glob-stream/node_modules/glob/glob.js:159:12)
at Glob._processSimple2 (/usr/lib/node_modules/polymer-cli/node_modules/glob-stream/node_modules/glob/glob.js:652:12)
at /usr/lib/node_modules/polymer-cli/node_modules/glob-stream/node_modules/glob/glob.js:640:10
at Glob._stat2 (/usr/lib/node_modules/polymer-cli/node_modules/glob-stream/node_modules/glob/glob.js:736:12)
at lstatcb_ (/usr/lib/node_modules/polymer-cli/node_modules/glob-stream/node_modules/glob/glob.js:728:12)
I want to know why this keeps happening.
The Polymer CLI is designed to build apps using the REPL app shell architecture. In your
polymer.json
file, you must define any "fragments" that are lazy-loaded. After adding the fragments to the file, runningpolymer build
in the directory containing the config file.