-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Jason Weiss edited this page Mar 23, 2018
·
1 revision
Welcome to the icd wiki!
If you are experiencing the following problem, the fix that seems to work consistently is to delete your tmtsoftware/icd directory and do a fresh clone:
[info] Wrote /Users/weiss/tmtsoftware/icd/icd-web-server/target/scala-2.12/icdwebserver_2.12-0.12.pom
[info] Main Scala API documentation to /Users/weiss/tmtsoftware/icd/icd-web-server/target/scala-2.12/api...
[info] LESS compiling on 1 source(s)
[error] /Users/weiss/tmtsoftware/icd/project/target/node-modules/webjars/less/lib/less/index.js:13
[error] functions: require('./functions')(environment),
[error] ^
[error]
[error] TypeError: require(...) is not a function
[error] at module.exports (/Users/weiss/tmtsoftware/icd/project/target/node-modules/webjars/less/lib/less/index.js:13:42)
[error] at Object.<anonymous> (/Users/weiss/tmtsoftware/icd/project/target/node-modules/webjars/less/lib/less-node/index.js:5:12)
[error] at Module._compile (module.js:641:30)
[error] at Object.Module._extensions..js (module.js:652:10)
[error] at Module.load (module.js:560:32)
[error] at tryModuleLoad (module.js:503:12)
[error] at Function.Module._load (module.js:495:3)
[error] at Module.require (module.js:585:17)
[error] at require (internal/module.js:11:18)
[error] at Object.<anonymous> (/Users/weiss/tmtsoftware/icd/project/target/node-modules/webjars/less/index.js:1:80)
model contains 21 documentable templates
[info] Main Scala API documentation successful.
[info] Packaging /Users/weiss/tmtsoftware/icd/icd-web-server/target/scala-2.12/icdwebserver_2.12-0.12-javadoc.jar ...
[info] Done packaging.
[error] com.typesafe.sbt.jse.SbtJsTask$JsTaskFailure: /Users/weiss/tmtsoftware/icd/project/target/node-modules/webjars/less/lib/less/index.js:13
[error] functions: require('./functions')(environment),
[error] ^
[error]
[error] TypeError: require(...) is not a function
[error] at module.exports (/Users/weiss/tmtsoftware/icd/project/target/node-modules/webjars/less/lib/less/index.js:13:42)
[error] at Object.<anonymous> (/Users/weiss/tmtsoftware/icd/project/target/node-modules/webjars/less/lib/less-node/index.js:5:12)
[error] at Module._compile (module.js:641:30)
[error] at Object.Module._extensions..js (module.js:652:10)
[error] at Module.load (module.js:560:32)
[error] at tryModuleLoad (module.js:503:12)
[error] at Function.Module._load (module.js:495:3)
[error] at Module.require (module.js:585:17)
[error] at require (internal/module.js:11:18)
[error] at Object.<anonymous> (/Users/weiss/tmtsoftware/icd/project/target/node-modules/webjars/less/index.js:1:80)
[error]
[error] at com.typesafe.sbt.jse.SbtJsTask$.$anonfun$executeJsOnEngine$1(SbtJsTask.scala:218)
[error] at scala.util.Success.$anonfun$map$1(Try.scala:251)
[error] at scala.util.Success.map(Try.scala:209)
[error] at scala.concurrent.Future.$anonfun$map$1(Future.scala:289)
[error] at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:29)
[error] at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:29)
[error] at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60)
[error] at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:140)
[error] at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
[error] at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
[error] at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
[error] at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
[error] (icdWebServer/web-assets:less) com.typesafe.sbt.jse.SbtJsTask$JsTaskFailure: /Users/weiss/tmtsoftware/icd/project/target/node-modules/webjars/less/lib/less/index.js:13
[error] functions: require('./functions')(environment),
[error] ^
[error]
[error] TypeError: require(...) is not a function
[error] at module.exports (/Users/weiss/tmtsoftware/icd/project/target/node-modules/webjars/less/lib/less/index.js:13:42)
[error] at Object.<anonymous> (/Users/weiss/tmtsoftware/icd/project/target/node-modules/webjars/less/lib/less-node/index.js:5:12)
[error] at Module._compile (module.js:641:30)
[error] at Object.Module._extensions..js (module.js:652:10)
[error] at Module.load (module.js:560:32)
[error] at tryModuleLoad (module.js:503:12)
[error] at Function.Module._load (module.js:495:3)
[error] at Module.require (module.js:585:17)
[error] at require (internal/module.js:11:18)
[error] at Object.<anonymous> (/Users/weiss/tmtsoftware/icd/project/target/node-modules/webjars/less/index.js:1:80)
[error] Total time: 3 s, completed Nov 29, 2017 4:21:21 PM