# Install fancyapps Fancybox, module parse failed 'unexpected token'

**URL:** https://discourse.roots.io/t/install-fancyapps-fancybox-module-parse-failed-unexpected-token/22209
**Category:** sage
**Created:** 2022-01-28T11:02:02Z
**Posts:** 5
**Showing post:** 4 of 5

## Post 4 by @strarsis — 2022-01-29T20:32:18Z

Is this related (also Sage 9.x):

> [@UglifyJs error on production build](https://discourse.roots.io/t/uglifyjs-error-on-production-build/12419/2):
>
> I was able to resolve this issue by commenting out //exclude: [/node\_modules(?![/|\\](bootstrap|foundation-sites))/], in resources/assets/build/webpack.config.js as recommended in some GitHub discussions ([https://github.com/JeffreyWay/laravel-mix/issues/790#issuecomment-371511832](https://github.com/JeffreyWay/laravel-mix/issues/790#issuecomment-371511832)).

---

_[View the full topic](https://discourse.roots.io/t/install-fancyapps-fancybox-module-parse-failed-unexpected-token/22209)._
