playframework - SBT is installing dependencies from package.json -


i'm unsure if bug or have activated somehow. have play framework app doesn't running tests when have package.json file in root folder. runs fine when run app. have had no luck finding same kind of problem me.

running test inside sbt runs fine when package.json not present. if package.json present, sbt begins install/download these dependencies /node_modules , corrupt installed npm modules. have reinstall afterwards npm modules working again.

this error message multiple times in console.

exception in thread "trireme async pool" java.security.accesscontrolexception: access denied ("java.io.filepermission" "/home/anders/vidme/node_modules/grunt-ts/node_modules/.bin/rimraf" "readlink") @ java.security.accesscontrolcontext.checkpermission(accesscontrolcontext.java:372) @ java.security.accesscontroller.checkpermission(accesscontroller.java:559) @ sun.nio.fs.unixfilesystemprovider.readsymboliclink(unixfilesystemprovider.java:487) @ java.nio.file.files.readsymboliclink(files.java:1384) @ io.apigee.trireme.core.modules.asyncfilesystem$fsimpl.doreadlink(asyncfilesystem.java:1470) @ io.apigee.trireme.core.modules.asyncfilesystem$fsimpl.access$2000(asyncfilesystem.java:118) @ io.apigee.trireme.core.modules.asyncfilesystem$fsimpl$26.execute(asyncfilesystem.java:1459) @ io.apigee.trireme.core.modules.asyncfilesystem$fsimpl$1.run(asyncfilesystem.java:201) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:745) 

package.json

{   "devdependencies": {     "grunt": "~0.4.5",     "grunt-ts": "~4.0.1",     "grunt-contrib-uglify": "~0.9.1",     "grunt-contrib-watch": "~0.6.1",     "grunt-contrib-htmlmin": "~0.4.0"   } } 

build.sbt

name := """vidme"""  version := "1.0-snapshot"  lazy val root = (project in file(".")).enableplugins(playscala)  scalasource in compile := basedirectory.value / "app"  scalasource in test := basedirectory.value / "test"  sourcesinbase := false  scalaversion := "2.11.1"  librarydependencies ++= seq(   jdbc,   anorm,   cache,   ws,   "org.reactivemongo" %% "play2-reactivemongo" % "0.10.5.0.akka23",   "org.mongodb" %% "casbah" % "2.8.0",   "org.scalatest" % "scalatest_2.11" % "2.2.4" % "test",   "com.google.inject" % "guice" % "3.0" ) 

is there anyway can stop happening? tried adding scalasource in sbt file, changed nothing.


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -