This thread is old. I know. But I found it via the search tool, so I’m going to add a solution for you and future readers:
You just remove all references to the file
Think of the code that goes into the fastboot server, as serverside code. That means that no fancy animation are going to take place, no clever dom based calculations or anything like that. Obviously you’re not going to actually remove all that stuff, it’s needed for when fastboot is done and your visitors browser is taking over.
So what you do it to import vendor files only if not in fasboot. in your ember-cli-build.js file, found the root of your ember project, you can add the following:
if (!process.env.EMBER_CLI_FASTBOOT) {
// Place your app.import() here
}
If any vendor scripts is acting up, you can further do