play.sbt.PlayExceptions$UnexpectedException: 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 ]

GitHub | eximius313 | 12 months ago
  1. 0

    Cannot find module

    GitHub | 12 months ago | eximius313
    play.sbt.PlayExceptions$UnexpectedException: 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 ]
  2. 0

    Exception with empty LESS file

    GitHub | 1 year ago | eximius313
    play.sbt.PlayExceptions$UnexpectedException: 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/inde x.js:4 at /path/project/target/node-modules/webjars/less/lib/less-node/index.js:1 at module.js:456 at module.js:474 at module.js:356 at module.js:312 at module.js:364 at require (module.js:380) at /path/project/target/node-modules/webjars/less/index.js:1 at module.js:456 at module.js:474 at module.js:356 at module.js:312 at module.js:364 at require (module.js:380) at /path/project/target/less/sbt-less-1.1.0.jar:14 at /path/project/target/less/sbt-less-1.1.0.jar:3 at module.js:456 at module.js:474 at module.js:356 at module.js:312 at module.js:497 at startup (trireme.js:142) at trireme.js:923 ]
  3. 0

    Exception with empty LESS file

    GitHub | 1 year ago | eximius313
    play.sbt.PlayExceptions$UnexpectedException: 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/inde x.js:4 at /path/project/target/node-modules/webjars/less/lib/less-node/index.js:1 at module.js:456 at module.js:474 at module.js:356 at module.js:312 at module.js:364 at require (module.js:380) at /path/project/target/node-modules/webjars/less/index.js:1 at module.js:456 at module.js:474 at module.js:356 at module.js:312 at module.js:364 at require (module.js:380) at /path/project/target/less/sbt-less-1.1.0.jar:14 at /path/project/target/less/sbt-less-1.1.0.jar:3 at module.js:456 at module.js:474 at module.js:356 at module.js:312 at module.js:497 at startup (trireme.js:142) at trireme.js:923 ]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error while testing

    GitHub | 2 years ago | swiesend
    com.typesafe.sbt.jse.SbtJsTask$JsTaskFailure: Error: Cannot find module '/home/swiesend/.../project/target/play-slick-akka/sbt-mocha-1.0.0.jar' (/Users/Apigee/src/noderunner/node10/node10src/src/main/javascript/io/apigee/trireme/node10/node/module.js#340) at /Users/Apigee/src/noderunner/node10/node10src/src/main/javascript/io/apigee/trireme/node10/node/module.js:340 (anonymous) at /Users/Apigee/src/noderunner/node10/node10src/src/main/javascript/io/apigee/trireme/node10/node/module.js:280 (anonymous) at /Users/Apigee/src/noderunner/node10/node10src/src/main/javascript/io/apigee/trireme/node10/node/module.js:497 (anonymous) at /Users/Apigee/src/noderunner/node10/node10src/src/main/javascript/io/apigee/trireme/node10/main/trireme.js:141 (startup) at /Users/Apigee/src/noderunner/node10/node10src/src/main/javascript/io/apigee/trireme/node10/main/trireme.js:872 (anonymous)
  6. 0

    GitHub comment 53#98448575

    GitHub | 2 years ago | KarelCemus
    play.PlayExceptions$UnexpectedException: Unexpected exception[JsTaskFailure: SyntaxError: Unexpected token: u (/media/data/Projects/matahari/project/target/less/sbt-less.jar#65) at /media/data/Projects/matahari/project/target/less/sbt-less.jar:65 (anonymous) at /media/data/Projects/matahari/project/target/less/sbt-less.jar:97 (anonymous) at fs.js:107 (anonymous) at trireme.js:822 (submitTick) ]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.typesafe.sbt.jse.SbtJsTask$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

      at com.typesafe.sbt.jse.SbtJsTask$$anonfun$com$typesafe$sbt$jse$SbtJsTask$$executeJsOnEngine$1.apply()
    2. com.typesafe.sbt
      SbtJsTask$$anonfun$com$typesafe$sbt$jse$SbtJsTask$$executeJsOnEngine$1.apply
      1. com.typesafe.sbt.jse.SbtJsTask$$anonfun$com$typesafe$sbt$jse$SbtJsTask$$executeJsOnEngine$1.apply(SbtJsTask.scala:195)[na:na]
      2. com.typesafe.sbt.jse.SbtJsTask$$anonfun$com$typesafe$sbt$jse$SbtJsTask$$executeJsOnEngine$1.apply(SbtJsTask.scala:167)[na:na]
      2 frames
    3. Scala
      ForkJoinTask.doExec
      1. scala.util.Success$$anonfun$map$1.apply(Try.scala:206)[scala-library-2.11.6.jar:na]
      2. scala.util.Try$.apply(Try.scala:161)[scala-library-2.11.6.jar:na]
      3. scala.util.Success.map(Try.scala:206)[scala-library-2.11.6.jar:na]
      4. scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)[scala-library-2.11.6.jar:na]
      5. scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)[scala-library-2.11.6.jar:na]
      6. scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)[scala-library-2.11.6.jar:na]
      7. scala.concurrent.impl.ExecutionContextImpl$$anon$3.exec(ExecutionContextImpl.scala:107)[scala-library-2.11.6.jar:na]
      8. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[scala-library-2.11.6.jar:na]
      8 frames