com.intellij.execution.process.ProcessNotCreatedException

Cannot run program "/stylelint" (in directory "/Users/Bruno/Documents/Workspace/f4s/f4s-website"): error=2, No such file or directory


Samebug tips1

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web56

Solution icon of github
via GitHub by browniebroke
, 7 months ago
Cannot run program "/stylelint" (in directory "/Users/Bruno/Documents/Workspace/f4s/f4s-website"): error=2, No such file or directory

Solution icon of github
via GitHub by maia
, 1 year ago
Cannot run program "rubocop" (in directory "/Users/username/appname"): error=2, No such file or directory

Solution icon of github
Cannot run program "rubocop" (in directory "/Users/username/appname"): error=2, No such file or directory

Solution icon of github
Cannot run program "rubocop" (in directory "/Users/username/appname"): error=2, No such file or directory

Solution icon of github
via GitHub by pjar
, 1 year ago
Cannot run program "rubocop" (in directory "/Users/jarek/RailsProjects/codequest/selecthub/selecthub"): error=2, No such file or directory

Solution icon of youtrack
Cannot run program "/usr/bin/git" (in directory "/Users/anton/Projects/apple/TheGame"): error=2, No such file or directory

Solution icon of github
via GitHub by russel
, 3 months ago
Cannot run program "/usr/bin/dub" (in directory "/home/users/russel/Repositories/Git/Masters/ApproxGC_D"): error=2, No such file or directory

Solution icon of youtrack
via YouTrack by Unknown author, 1 year ago
Cannot run program "cmd.exe" (in directory "/home/adminadmin/buildAgent/work/ce21e4cf95994380"): java.io.IOException: error=2, No such file or directory

Solution icon of youtrack
via YouTrack by Unknown author, 1 year ago
Cannot run program "grunt" (in directory "/home/avatar/WebstormProjects/s2app"): error=2, No such file or directory

Solution icon of github
via GitHub by hms
, 1 year ago
Cannot run program "rubocop" (in directory "/Volumes/Work/dev/imp/rails"): error=2, No such file or directory

Stack trace

  • com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "/stylelint" (in directory "/Users/Bruno/Documents/Workspace/f4s/f4s-website"): error=2, No such file or directory at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:369) at com.jokerzoid.intellij.plugin.stylelint.ProcessManager.createStylelintProcess(ProcessManager.java:65) at com.jokerzoid.intellij.plugin.stylelint.ProcessManager.runStylelint(ProcessManager.java:36) at com.jokerzoid.intellij.plugin.stylelint.StylelintAnnotator.doAnnotate(StylelintAnnotator.java:41) at com.jokerzoid.intellij.plugin.stylelint.StylelintAnnotator.doAnnotate(StylelintAnnotator.java:19) at com.intellij.codeInsight.daemon.impl.ExternalToolPass.c(ExternalToolPass.java:212) at com.intellij.codeInsight.daemon.impl.ExternalToolPass.access$500(ExternalToolPass.java:44) at com.intellij.codeInsight.daemon.impl.ExternalToolPass$1.run(ExternalToolPass.java:160) at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:337) at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:327) at com.intellij.util.ui.update.MergingUpdateQueue.lambda$flush$1(MergingUpdateQueue.java:277) at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:291) at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:246) at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:223) at com.intellij.util.Alarm$Request$1.run(Alarm.java:387) at com.intellij.util.Alarm$Request.run(Alarm.java:398) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:237) at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:210) 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: Cannot run program "/stylelint" (in directory "/Users/Bruno/Documents/Workspace/f4s/f4s-website"): error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:379) at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:365) ... 22 more Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:247) at java.lang.ProcessImpl.start(ProcessImpl.java:134) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ... 24 more

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

Once, 2 months ago
5 times, 1 month ago
16 times, 2 months ago
Once, 8 months ago
Once, 8 months ago
151 more bugmates