Saturday, 8 April 2017

Node.js error on compile

I am building my ES6/Gulp/Webpack framework out for production and I am getting this error/warning in the terminal.

(node:37710) UnhandledPromiseRejectionWarning:
Unhandled promise rejection (rejection id: 2):
TypeError: tasks[(taskName + "Task")] is not a function

It's saying there's an error within node itself. I have commented out all the JS that should be getting compiled and it's still happening, so it shouldn't be within any of my scripts.

At this point, I don't know what specific code would help you clever lot help decipher this issue, so if I can get pointed in a general direction, that'll be a great start.

I am also getting this error in the console of my local site: Uncaught Error: TypeError: t[n] is not a constructor. Not sure if that helps, though.

At this point, anything that may narrow it down would be helpful.

Thanks, Jay



via Jay

No comments:

Post a Comment