vigetlabs / blendid

A delicious blend of gulp tasks combined into a configurable asset pipeline and static site builder
MIT License
4.97k stars 682 forks source link

Error running Gulp Unexpected character '`' on yarn run blendid -- build #456

Closed ryanjavens closed 6 years ago

ryanjavens commented 7 years ago

Hi all!

I'm not sure if this is the correct place to put this and I can cross post this to Foundation's issues as well if this isn't the proper location, but I figured I'd start here.

When using Foundation's new rc version, I'm getting the following error when running yarn run blendid -- build:

[16:36:41] gulp-notify: [Error running Gulp] Error:
app-9d242fac1e7f31a031bb.js from UglifyJs
Unexpected character '`' [app-9d242fac1e7f31a031bb.js:10358,124]

When trying to debug this with a colleague, we think it could potentially be a bad babel configuration for node modules, but that's the best guess we could come up with. This is what ultimately lead me to start my search here.

I've created a test case if it is any help!

https://github.com/ryanjavens/broken-foundation-blendid

I look forward to any input you guys might have!

Thanks!

ryanjavens commented 7 years ago

In case anyone else encounters this issue, there's a fix for it that I got from the issue I made in Foundation's repo: https://github.com/zurb/foundation-sites/issues/10161#issuecomment-309084581.