com.typesafe.sbt.jse.SbtJsTask$JsTaskFailure

TypeError: [object Object] is not a function, it is object. (/tmp/scala_buildpack_build_dir/project/target/node-modules/webjars/less/lib/less/index.js#4) at /tmp/scala_buildpack_build_dir/project/target/node-modules/webjars/less/lib/less/index.js:4 remote: at /tmp/scala_buildpack_build_dir/project/target/node-modules/webjars/less/lib/less-node/index.js:1 remote: at module.js:456 remote: at module.js:474 remote: at module.js:356 remote: at module.js:312 remote: at module.js:364 remote: at require (module.js:380) remote: at /tmp/scala_buildpack_build_dir/project/target/node-modules/webjars/less/index.js:1 remote: at module.js:456 remote: at module.js:474 remote: at module.js:356 remote: at module.js:312 remote: at module.js:364 remote: at require (module.js:380) remote: at /tmp/scala_buildpack_build_dir/project/target/less/sbt-less-1.1.0.jar:14 remote: at /tmp/scala_buildpack_build_dir/project/target/less/sbt-less-1.1.0.jar:3 remote: at module.js:456 remote: at module.js:474 remote: at module.js:356 remote: at module.js:312 remote: at module.js:497 remote: at startup (trireme.js:142) remote: at trireme.js:923 remote:

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web14

  • TypeError: [object Object] is not a function, it is object. (/tmp/scala_buildpack_build_dir/project/target/node-modules/webjars/less/lib/less/index.js#4) at /tmp/scala_buildpack_build_dir/project/target/node-modules/webjars/less/lib/less/index.js
  • /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
  • /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
  • Stack trace

    • com.typesafe.sbt.jse.SbtJsTask$JsTaskFailure: TypeError: [object Object] is not a function, it is object. (/tmp/scala_buildpack_build_dir/project/target
    • ode-modules/webjars/less/lib/less/index.js#4) at /tmp/scala_buildpack_build_dir/project/target
    • ode-modules/webjars/less/lib/less/index.js:4 remote: at /tmp/scala_buildpack_build_dir/project/target
    • ode-modules/webjars/less/lib/less-node/index.js:1 remote: at module.js:456 remote: at module.js:474 remote: at module.js:356 remote: at module.js:312 remote: at module.js:364 remote: at require (module.js:380) remote: at /tmp/scala_buildpack_build_dir/project/target
    • ode-modules/webjars/less/index.js:1 remote: at module.js:456 remote: at module.js:474 remote: at module.js:356 remote: at module.js:312 remote: at module.js:364 remote: at require (module.js:380) remote: at /tmp/scala_buildpack_build_dir/project/target/less/sbt-less-1.1.0.jar:14 remote: at /tmp/scala_buildpack_build_dir/project/target/less/sbt-less-1.1.0.jar:3 remote: at module.js:456 remote: at module.js:474 remote: at module.js:356 remote: at module.js:312 remote: at module.js:497 remote: at startup (trireme.js:142) remote: at trireme.js:923 remote: at com.typesafe.sbt.jse.SbtJsTask$$anonfun$com$typesafe$sbt$jse$SbtJsTask$$executeJsOnEngine$1.apply(SbtJsTask.scala:195) at com.typesafe.sbt.jse.SbtJsTask$$anonfun$com$typesafe$sbt$jse$SbtJsTask$$executeJsOnEngine$1.apply(SbtJsTask.scala:167) at scala.util.Success$$anonfun$map$1.apply(Try.scala:206) at scala.util.Try$.apply(Try.scala:161) at scala.util.Success.map(Try.scala:206) at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235) at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) at scala.concurrent.impl.ExecutionContextImpl$$anon$3.exec(ExecutionContextImpl.scala:107) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.