play.sbt.PlayExceptions$UnexpectedException: Unexpected exception[JsTaskFailure: /home/user/project/node_modules/postcss/lib/lazy-result.js:157 this.processing = new Promise(function (resolve, reject) { ^ ReferenceError: Promise is not defined at LazyResult.async (/home/user/project/node_modules/postcss/lib/lazy-result.js:157:31) at LazyResult.then (/home/user/project/node_modules/postcss/lib/lazy-result.js:79:21) at doProcess (/home/user/project/node_modules/postcss-cli/index.js:211:14) at iterate (/home/user/project/node_modules/neo-async/lib/async.js:8241:18) at done (/home/user/project/node_modules/neo-async/lib/async.js:8278:9) at Gatherer.<anonymous> (/home/user/project/node_modules/gather-stream/index.js:41:5) at Gatherer.emit (events.js:117:20) at finishMaybe (_stream_writable.js:360:12) at endWritable (_stream_writable.js:367:3) at Gatherer.Writable.end (_stream_writable.js:345:5) ]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by eximius313
, 1 year ago
Unexpected exception[JsTaskFailure: /home/user/project/node_modules/postcss/lib/lazy-result.js:157 this.processing = new Promise(function (resolve, reject) { ^ ReferenceError: Promise is not defined at
via GitHub by eximius313
, 2 years ago
Unexpected exception[JsTaskFailure: TypeError: [object Object] is not a function, it is object. (/home/users/projec t/project/project/target/node-modules/webjars/less/lib/less/index.js#4) at /path/project/target/node-modules/webjars/less/lib/less
via GitHub by eximius313
, 1 year ago
Unexpected exception[JsTaskFailure: TypeError: [object Object] is not a function, it is object. (/home/users/projec t/project/project/target/node-modules/webjars/less/lib/less/index.js#4) at /path/project/target/node-modules/webjars/less/lib/less
via GitHub by eximius313
, 1 year ago
Unexpected exception[JsTaskFailure: module.js:338 throw err; ^ Error: Cannot find module 'D:\workspaces\myproject\node_modules\postcss-cli\bin\postcss' at Function.Module._resolveFilename (module.js:336:15) at Function.Module._load (module.js:278:25) at Function.Module.runMain (module.js:501:10) at startup (node.js:129:16) at node.js:814:3 ]
via GitHub by ethereal-sandeep
, 10 months ago
Unexpected exception[RuntimeException: com.typesafe.config.ConfigException$WrongType: application.conf @ file:/home/user/projects/server/conf/application.conf: 86-93: servers has type OBJECT rather than LIST]
via GitHub by abhi18av
, 2 months ago
Unexpected exception[JsTaskFailure: /usr/bin/less:1 (function (exports, require, module, __filename, __dirname) { ���� ^ SyntaxError: Invalid or unexpected token at createScript
play.sbt.PlayExceptions$UnexpectedException: Unexpected exception[JsTaskFailure: /home/user/project/node_modules/postcss/lib/lazy-result.js:157 this.processing = new Promise(function (resolve, reject) { ^ ReferenceError: Promise is not defined at LazyResult.async (/home/user/project/node_modules/postcss/lib/lazy-result.js:157:31) at LazyResult.then (/home/user/project/node_modules/postcss/lib/lazy-result.js:79:21) at doProcess (/home/user/project/node_modules/postcss-cli/index.js:211:14) at iterate (/home/user/project/node_modules/neo-async/lib/async.js:8241:18) at done (/home/user/project/node_modules/neo-async/lib/async.js:8278:9) at Gatherer.<anonymous> (/home/user/project/node_modules/gather-stream/index.js:41:5) at Gatherer.emit (events.js:117:20) at finishMaybe (_stream_writable.js:360:12) at endWritable (_stream_writable.js:367:3) at Gatherer.Writable.end (_stream_writable.js:345:5) ]
at play.sbt.run.PlayReload$$anonfun$taskFailureHandler$1.apply(PlayReload.scala:51)
at play.sbt.run.PlayReload$$anonfun$taskFailureHandler$1.apply(PlayReload.scala:44)
at scala.Option.map(Option.scala:145)
at play.sbt.run.PlayReload$.taskFailureHandler(PlayReload.scala:44)
at play.sbt.run.PlayReload$.compileFailure(PlayReload.scala:40)
at play.sbt.run.PlayReload$$anonfun$compile$1.apply(PlayReload.scala:17)
at play.sbt.run.PlayReload$$anonfun$compile$1.apply(PlayReload.scala:17)
at play.sbt.run.PlayReload$.compile(PlayReload.scala:17)
at play.sbt.run.PlayRun$$anonfun$playRunTask$1$$anonfun$apply$2$$anonfun$apply$3$$anonfun$2.apply(PlayRun.scala:61)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.