java.io.IOException: Cannot run program "webpack" (in directory "C:\prog\projects\SBT\boogle-ms"): CreateProcess error=2, The system cannot find the file specified

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

Samebug tips

,
Expert tip

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

,

Provide a working directory instead of pointing it to a file or an empty directory in process builder.

Solutions on the web

via GitHub by Odomontois
, 10 months ago
Cannot run program "webpack" (in directory "C:\prog\projects\SBT\boogle-ms"): CreateProcess error=2, The system cannot find the file specified
via GitHub by romatthe
, 1 year ago
Cannot run program "grunt" (in directory "/tmp/scala_buildpack_build_dir/ui"): error=2, No such file or directory
via Stack Overflow by baytbybayt
, 1 year ago
Cannot run program "grunt" (in directory "/tmp/scala_buildpack_build_dir/ui"): error=2, No such file or directory
via Google Groups by Unknown author, 1 year ago
Cannot run program "C:/Program Files/Java/jdk1.6.0_45/bin/java" (in directory "C:\Users\afshad.dinshaw\.IntelliJIdea14\system\compile-server\kie-wb-distributions-6_1_0_final_54fb3ed9\targets\gwt\kie-wb-webapp\gwt-output"): CreateProcess error=206, The filename or extension is too long
via Stack Overflow by sparkr
, 1 year ago
Cannot run program "docker" (in directory "/Users/joe/projects/my-projects/proj1/target/docker/docker/stage"): error=2, No such file or directory
via YouTrack by Unknown author, 1 year ago
Cannot run program "p4" (in directory "C:\dart\DartSample2"): CreateProcess error=2, The system cannot find the file specified
java.io.IOException: CreateProcess error=2, The system cannot find the 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:1023)
at sbt.SimpleProcessBuilder.run(ProcessImpl.scala:349)
at sbt.AbstractProcessBuilder.run(ProcessImpl.scala:126)
at sbt.AbstractProcessBuilder.run(ProcessImpl.scala:125)
at play.runsupport.Reloader$$anonfun$13.apply(Reloader.scala:214)
at play.runsupport.Reloader$$anonfun$13.apply(Reloader.scala:214)
at play.runsupport.RunHook$RunHooksRunner$$anonfun$run$extension$1.apply(RunHook.scala:60)
at play.runsupport.RunHook$RunHooksRunner$.run$extension(RunHook.scala:58)
at play.sbt.run.PlayRun$$anonfun$playRunTask$1$$anonfun$apply$2$$anonfun$apply$3.devModeServer$lzycompute$1(PlayRun.scala:74)
at play.sbt.run.PlayRun$$anonfun$playRunTask$1$$anonfun$apply$2$$anonfun$apply$3.play$sbt$run$PlayRun$$anonfun$$anonfun$$anonfun$$devModeServer$1(PlayRun.scala:74)
at play.sbt.run.PlayRun$$anonfun$playRunTask$1$$anonfun$apply$2$$anonfun$apply$3.apply(PlayRun.scala:100)
at play.sbt.run.PlayRun$$anonfun$playRunTask$1$$anonfun$apply$2$$anonfun$apply$3.apply(PlayRun.scala:53)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
at sbt.std.Transform$$anon$4.work(System.scala:63)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
at sbt.Execute.work(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.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:511)
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)

Users with the same issue

Once, 3 weeks ago
Once, 2 months ago
3 times, 5 months ago
Once, 1 year ago
5 times, 1 year ago

Write tip

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