Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Errors upon uglify (gulp --production) #79

Open
tomdavison12 opened this issue Oct 7, 2016 · 0 comments
Open

Errors upon uglify (gulp --production) #79

tomdavison12 opened this issue Oct 7, 2016 · 0 comments

Comments

@tomdavison12
Copy link

tomdavison12 commented Oct 7, 2016

I encountered an error that arose from trying to gulp --production after modifying a javascript file. The error messages did not provide anything specific to the error.

Gulp-util node package needs to be added and the the bower.task.js file needs to be modified.

For others like me, who do not know how to get the error message, here is what you need to do:

Install Gulp-util
import the Gulp-util by using the following statement: var gutil = require('gulp-util');
Finally, when you are uglifying the code, attach the error handler like this: .pipe(uglify().on('error', gutil.log))

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant