You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
events.js:160
throw er; // Unhandled 'error' event
^
ReferenceError: data is not defined
at eval (lodash.templateSources[5]:10:4)
at DestroyableTransform._transform (/Users/.../node_modules/gulp-template/index.js:22:40)
at DestroyableTransform.Transform._read (/Users/.../node_modules/gulp-template/node_modules/readable-stream/lib/_stream_transform.js:159:10)
at DestroyableTransform.Transform._write (/Users/.../node_modules/gulp-template/node_modules/readable-stream/lib/_stream_transform.js:147:83)
at doWrite (/Users/.../node_modules/gulp-template/node_modules/readable-stream/lib/_stream_writable.js:313:64)
at writeOrBuffer (/Users/.../node_modules/gulp-template/node_modules/readable-stream/lib/_stream_writable.js:302:5)
at DestroyableTransform.Writable.write (/Users/.../node_modules/gulp-template/node_modules/readable-stream/lib/_stream_writable.js:241:11)
at write (/Users/.../node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
at flow (/Users/.../node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
at DestroyableTransform.pipeOnReadable (/Users/.../node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:664:5)
The text was updated successfully, but these errors were encountered:
I don't think it's because of negated files. More likely it's not matching any files then. Try using https://github.com/sindresorhus/gulp-debug to see what files are passing through it.
Below code throws error:
Error:
The text was updated successfully, but these errors were encountered: