game upload still doesn't work (infinite loading)
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 1.8k
- Avg merge
- 8d 12h
- Merged PRs (30d)
- 12
Description
See issue https://github.com/hackclub/sprig/issues/1845
The problem should have been fixed but I'm still experiencing the same issue.
**Describe the bug**
when clicking the "run on device button" nothing happens but it stays in the "loading state". On the Sprig hardware, the screen stays the same (the "please upload a game" text)
**To Reproduce**
[I'm using the included usb-micro cable and google chrome]
-Go to a Sprig game
-click the "run on device" button
-select the serial port of the rpi pico
**Expected behavior**
The game gets uploaded to the sprig and I can play it
**Actual behavior**
The button never stops loading and nothing gets uploaded to the Sprig
**Screenshots**

the "run on device" button never stops loading
**What I've tried:**
-redowloading and reuploading the pico-os.uf2 file
-resetting the flash memory and reuploading the pico-os.uf2 file (https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html#resetting-flash-memory)
-tried the same using microsoft edge
-tried a different game
-tried a different cable
-tried a different usb port
-The pico seems to be fine, the arduino IDE has recognized it and I've managed to run the "blink" program on it.
Contributor guide
Research direction
Start by reviewing issue #1845, then reproduce the failure from a Sprig game using the “run on device” button, Chrome or Edge, and a Raspberry Pi Pico. Trace the upload flow after serial-port selection; done means the loading state ends and the game appears on the Sprig hardware.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, raspberry-pi
- Domain
- embedded-iot, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100