Unable to run snake demo
See original GitHub issueMill version: 0.9.9 OS: Windows 10 Node version: 14.17.4 (LTS)
I get the following error when trying to executing mill -i snake.runGame:
snake.indigoRun java.io.IOException: Cannot run program "npm" (in directory "C:\Users\rapha\Documents\indigo-examples\demos\snake\out\snake\indigoRun\dest"): CreateProcess error=2, Le fichier spécifié est introuvable
java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
os.proc.proc$lzycompute$1(ProcessOps.scala:128)
os.proc.proc$1(ProcessOps.scala:122)
os.proc.spawn(ProcessOps.scala:135)
os.proc.call(ProcessOps.scala:76)
indigoplugin.IndigoRun$.run(IndigoRun.scala:32)
millindigo.MillIndigo.$anonfun$indigoRun$2(MillIndigo.scala:60)
scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
java.io.IOException: CreateProcess error=2, Le fichier spécifié est introuvable
java.lang.ProcessImpl.create(Native Method)
java.lang.ProcessImpl.<init>(ProcessImpl.java:444)
java.lang.ProcessImpl.start(ProcessImpl.java:139)
java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
os.proc.proc$lzycompute$1(ProcessOps.scala:128)
os.proc.proc$1(ProcessOps.scala:122)
os.proc.spawn(ProcessOps.scala:135)
os.proc.call(ProcessOps.scala:76)
indigoplugin.IndigoRun$.run(IndigoRun.scala:32)
millindigo.MillIndigo.$anonfun$indigoRun$2(MillIndigo.scala:60)
scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
But NPM is installed and available in the Path. If I type npm, it is executed.
Note: “Le fichier spécifié est introuvable” means “No such file”
EDIT: Executing the command manually (npm start) works.
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
I want to run/download the snake game on my computer, but it ...
First run the commands sudo apt update && sudo apt upgrade . Then to install snake run the command: sudo apt-get install nsnake....
Read more >Writing a demo for snake game - Stack Overflow
You wouldn't be able to easily search enough moves in advance. ... Basically, you start out with a snake, get it so it...
Read more >What if I cannot view live or recorded video in SeeSnake HQ?
Did you try to playback the demo job that came with HQ? If that plays, the other video you are attempting to play...
Read more >Rocky Brands recalls 'snake-proof' boot after protection fails in ...
Rocky Brands is recalling 1,800 pairs of “snake-proof” hunting boots ... snake-bite resistant fabric failed when in use in a demonstration,” ...
Read more >JavaScript snake game tutorial: Build a simple, interactive game
To be able to create our game, we have to make use of the HTML <canvas> , which is used to draw graphics...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Ok, thank you for testing. I’ll need to pull together a Windows dev environment somehow and work out what to do.
It’s a small french jam organized by ReadTheDocs called Read the Jam. If I’m stuck, I will join the server.