You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2019. It is now read-only.
Hello all,
I cannot run command sbt test because project show error as below
PS C:\workspacescala\webapp-example\> sbt test
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
[warn] Executing in batch mode.
[warn] For better performance, hit [ENTER] to switch to interactive mode, or
[warn] consider launching sbt without any commands, or explicitly passing 'shell'
[info] Loading project definition from C:\workspacescala\webapp-example\project
[info] Set current project to tracethreatweb-fwdist (in build file:/C:/workspacescala/webapp-example/)
[info] Typescript linting on 3 source(s)
[error] C:\workspacescala\webapp-example\target\tslint\tslint.js:64
[error] var tsProgram = Linter.createProgram(sbtTslintConfig.tsConfigFile);
[error] ^
[error]
[error] TypeError: Linter.createProgram is not a function
[error] at C:\workspacescala\webapp-example\target\tslint\tslint.js:64:28
[error] at Object.<anonymous> (C:\workspacescala\webapp-example\target\tslint\tslint.js:117:2)
[error] at Module._compile (module.js:570:32)
[error] at Object.Module._extensions..js (module.js:579:10)
[error] at Module.load (module.js:487:32)
[error] at tryModuleLoad (module.js:446:12)
[error] at Function.Module._load (module.js:438:3)
[error] at Module.runMain (module.js:604:10)
[error] at run (bootstrap_node.js:389:7)
[error] at startup (bootstrap_node.js:149:9)
[info]
com.typesafe.sbt.jse.SbtJsTask$JsTaskFailure: C:\workspacescala\webapp-example\target\tslint\tslint.js:64
var tsProgram = Linter.createProgram(sbtTslintConfig.tsConfigFile);
^
TypeError: Linter.createProgram is not a function
at C:\workspacescala\webapp-example\target\tslint\tslint.js:64:28
at Object.<anonymous> (C:\workspacescala\webapp-example\target\tslint\tslint.js:117:2)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
at com.typesafe.sbt.jse.SbtJsTask$$anonfun$com$typesafe$sbt$jse$SbtJsTask$$executeJsOnEngine$1.apply(SbtJsTask.scala:215)
at com.typesafe.sbt.jse.SbtJsTask$$anonfun$com$typesafe$sbt$jse$SbtJsTask$$executeJsOnEngine$1.apply(SbtJsTask.scala:187)
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)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello all,
I cannot run command
sbt test
because project show error as belowThe text was updated successfully, but these errors were encountered: