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


Samebug tips1

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


8 months ago
Expert tip

Solutions on the web2596

Solution icon of github
Cannot run program "webpack" (in directory "C:\prog\projects\SBT\boogle-ms"): CreateProcess error=2, The system cannot find the file specified

Solution icon of github
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

Solution icon of github
via GitHub by 23suhail88
, 1 year ago
Cannot run program "webpack" (in directory "C:\Workspaces\p lay-react-webpack-master"): CreateProcess error=2, The system cannot find the fi le specified

Solution icon of stackoverflow
Cannot run program "winrar" (in directory "C:\Program Files\WinRAR"): CreateProcess error=2, The system cannot find the file specified

Solution icon of github
via GitHub by spyhunter99
, 10 months ago
Cannot run program "/usr/local/bin/gpg" (in directory "C:\projects\gradle-fury-example\kotlin"): CreateProcess error=2, The system cannot find the file specified

Solution icon of web
Cannot run program "winrar" (in directory "C:\Program Files\WinRAR"): CreateProcess error=2, The system cannot find the file specified

Solution icon of stackoverflow
Cannot run program "mvn.bat" (in directory "c:\Users\Matt\Documents\Projects\foo"): CreateProcess error=2, The system cannot find the file specified

Solution icon of github
via GitHub by grosu
, 1 year ago
Cannot run program "kast" (in directory "."): CreateProcess error=2, The system cannot find the file specified

Solution icon of apache
via storm-user by Adrian Mocanu, 1 year ago
Cannot run program "unzip" (in directory "."): CreateProcess error=2, The system cannot find the file specified

Solution icon of openjdk
via JDK Bug System by Webbug Group, 1 year ago
Cannot run program "echo" (in directory "."): CreateProcess error=2, The system cannot find the file specified

Stack trace

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
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
	at sbt.SimpleProcessBuilder.run(ProcessImpl.scala:349)
	at sbt.AbstractProcessBuilder.run(ProcessImpl.scala:126)
	at sbt.AbstractProcessBuilder.run(ProcessImpl.scala:125)
	at Webpack$WebpackHook$2$.beforeStarted(Webpack.scala:12)
	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$$anonfun$run$extension$1.apply(RunHook.scala:58)
	at scala.collection.immutable.List.foreach(List.scala:318)
	at play.runsupport.RunHook$RunHooksRunner$.run$extension(RunHook.scala:58)
	at play.runsupport.Reloader$.startDevMode(Reloader.scala:214)
	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 scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
	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)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessImpl.create(Native Method)
	at java.lang.ProcessImpl.<init>(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 Webpack$WebpackHook$2$.beforeStarted(Webpack.scala:12)
	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$$anonfun$run$extension$1.apply(RunHook.scala:58)
	at scala.collection.immutable.List.foreach(List.scala:318)
	at play.runsupport.RunHook$RunHooksRunner$.run$extension(RunHook.scala:58)
	at play.runsupport.Reloader$.startDevMode(Reloader.scala:214)
	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 scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
	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)[error]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
163 more bugmates