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:

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 Stack Overflow by Drakken Saer
, 1 year ago
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
via GitHub by francisdb
, 4 months ago
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
via GitHub by KurtYoung
, 1 year ago
/Users/ykt/IdeaProjects/kafka-manager/project/target/node-modules/webjars/less/lib/less/index.js:13 functions: require('./functions')(environment), ^ TypeError: require(...) is not a function at
via GitHub by VeryBueno
, 10 months ago
ReferenceError: "Promise" is not defined. (<...../project/target/typescript/typescript.js>#183) at compile (<...../project/target/typescript/typescript.js>:183) at <...../project/target/typescript/typescript.js>:152 at module.js:456
via GitHub by abhi18av
, 4 months ago
/usr/bin/less:1 (function (exports, require, module, __filename, __dirname) { ���� ^ SyntaxError: Invalid or unexpected token at createScript (vm.js:56:10) at
via GitHub by edwardchapin
, 1 year ago
Error: Cannot find module '/home/chapine/source/icd/icd-web/icd-web-server/target/less/lessc.js' (module.js#340) at module.js:340 at module.js:280 at module.js:497 at startup (trireme.js:142) at trireme.js:923
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:
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

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