wigahluk / play-webpack Goto Github PK
View Code? Open in Web Editor NEWPlay! framework with Webpack integration for TypeScript/JavaScript development. This project doesn't use ScalaJS
License: Other
Play! framework with Webpack integration for TypeScript/JavaScript development. This project doesn't use ScalaJS
License: Other
I don't know exactly why but one of my dependencies (ace-builds) has scala files. sbt blows up when trying to compile. The scala build should ignore the app/frontend directory
Steps to reproduce:
From app/frontend run:
npm install ace-builds
From project root run:
sbt compile
The type error seems to be fixed in ReactiveX/rxjs#2722
I am facing issue while running activator dist. below is the stack trace of the same. can you please suggest something for the same.
C:\Workspaces\HorizenClientConfigTool_POC\play-webpack-master>activator dist
[info] Loading project definition from C:\Workspaces\HorizenClientConfigTool_POC
\play-webpack-master\project
[info] Set current project to play-webpack (in build file:/C:/Workspaces/Horizen
ClientConfigTool_POC/play-webpack-master/)
java.io.IOException: Cannot run program "npm" (in directory ".\app\frontend"): C
reateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at sbt.SimpleProcessBuilder.run(ProcessImpl.scala:349)
at sbt.AbstractProcessBuilder.run(ProcessImpl.scala:126)
at sbt.AbstractProcessBuilder.$bang(ProcessImpl.scala:154)
at
orizenClientConfigTool_POC\play-webpack-master\build.sbt:31)
at
lientConfigTool_POC\play-webpack-master\build.sbt:31)
at
lientConfigTool_POC\play-webpack-master\build.sbt:31)
at sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:44)
at sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:44)
at sbt.std.Transform$$anon$4.work(System.scala:63)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:22
6)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:22
6)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
at sbt.Execute.work(Execute.scala:235)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestric
tions.scala:159)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:51
1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at sbt.SimpleProcessBuilder.run(ProcessImpl.scala:349)
at sbt.AbstractProcessBuilder.run(ProcessImpl.scala:126)
at sbt.AbstractProcessBuilder.$bang(ProcessImpl.scala:154)
at
orizenClientConfigTool_POC\play-webpack-master\build.sbt:31)
at
lientConfigTool_POC\play-webpack-master\build.sbt:31)
at
lientConfigTool_POC\play-webpack-master\build.sbt:31)
at sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:44)
at sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:44)
at sbt.std.Transform$$anon$4.work(System.scala:63)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:22
6)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:22
6)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
at sbt.Execute.work(Execute.scala:235)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestric
tions.scala:159)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:51
1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
at java.lang.Thread.run(Thread.java:745)
error java.io.IOException: Cannot run program "npm" (in direc
tory ".\app\frontend"): CreateProcess error=2, The system cannot find the file s
pecified
[error] Total time: 0 s, completed Jun 17, 2016 12:44:14 PM
Hello,
I think there are 2 potential fixes in this great template.
val appPath = if (isWin) "app\frontend" else "./app/frontend"
instead of
val appPath = if (isWin) "\app\frontend" else "./app/frontend"
assets.at("/public/bundles", file)
instead of
assets.at("public/bundles", file)
I can do pull request if You want.
not waiting till npm build completed while running sbt dist or sbt docker:publish
sbt 1.0.1
java 1.8
os macOS Sierra 10.12.6
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.