question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to run snake demo

See original GitHub issue

Mill 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:closed
  • Created 2 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
davesmith00000commented, Aug 6, 2021

Ok, thank you for testing. I’ll need to pull together a Windows dev environment somehow and work out what to do.

2reactions
Iltotorecommented, Aug 6, 2021

Which game jam if you don’t mind me asking / if you’re decided?

It’s a small french jam organized by ReadTheDocs called Read the Jam. If I’m stuck, I will join the server.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found