aurelia / bundler

A library for bundling JavaScript, HTML and CSS for use with SystemJS.
MIT License
37 stars 25 forks source link

Error when Bundling #116

Closed lbendezu closed 8 years ago

lbendezu commented 8 years ago

Sudenly we started seeing the following error into all our applications on productions environments when we bundle.

2016-05-05T16:17:44.9198976Z [11:17:44] Error: MultipleErrors: Error compiling global module "Web.config" at app\Web.config 2016-05-05T16:17:44.9198976Z app/Web.config:1:1: Unexpected token < 2016-05-05T16:17:44.9198976Z app/Web.config:1:7: Unexpected token version 2016-05-05T16:17:44.9198976Z app/Web.config:1:14: Unexpected token = 2016-05-05T16:17:44.9198976Z app/Web.config:1:15: Semi-colon expected 2016-05-05T16:17:44.9385307Z app/Web.config:1:21: Unexpected token > 2016-05-05T16:17:44.9385307Z app/Web.config:3:3: Unexpected token < 2016-05-05T16:17:44.9385307Z app/Web.config:3:4: Unexpected token system 2016-05-05T16:17:44.9385307Z app/Web.config:3:10: Unexpected token . 2016-05-05T16:17:44.9385307Z app/Web.config:3:11: Semi-colon expected

Could anyone help us with that? We have that task working several months and now its failing everywhere.

@hmarcelodn I copied the issue here

doktordirk commented 8 years ago

well, what it web.config? a html?

lbendezu commented 8 years ago

that is an XML file that is used in microsoft web projects

doktordirk commented 8 years ago

the more info, the better, ok. so, should it be bundled? i guess not what has changed? have you updated the bundler? if yes, which was the version it last worked?

EisenbergEffect commented 8 years ago

Your bundle config is including a file that shouldn't be in the bundle. You need to move that file out ore re-configure the bundler to not pick up the web.config file.