wasm-beep example "can't resolve './pkg'"
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- rust, wasm, webpack
- Ambito
- audio-video-rtc, build-system
Direzione di ricerca
Start with the README and index.js in examples/wasm-beep, then check how the example is built and where its pkg import is expected to come from. Reproduce the documented npm install and npm start steps; done means the example builds and the play button produces sound. The issue has had no response for years, so confirm the current setup before taking it on.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I followed the readme in the examples/wasm-beep folder, which said to run npm install then npm start. After running npm start it seems to mostly work, browser pops up to the page with the play and stop buttons, but there's an error in the terminal where I ran npm start:
ERROR in ./index.js
Module not found: Error: Can't resolve './pkg' in 'C:\Users\David\Projects\personal\rust-learn\cpal\examples\wasm-beep'
And no sound is heard when pressing the play button. I can't tell what pkg is supposed to be, or where to get it, so maybe something missing in the instructions? Or something else changed.
- Lingua principale
- Rust
- Stelle
- 4k
- Fork
- 554
- Merge medio
- 3g 3h
- PR unite (30g)
- 4
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di RustAudio/cpal
-
aaudio: dynamic buffer tuning never grows the buffer (set_buffer_size_in_frames reports Err on success)Forse già presa @dannyward630 l’ha presa 4 giorni fa. Apertahost - aaudio platform - android
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
WebAudio wasm build fails with wasm-bindgen panic=unwind closuresForse già presa @bogusyogi l’ha presa 13 giorni fa. Apertahost - webaudio platform - web
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
RustAudio/cpal#1394 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
New WASAPI implementationApertacode quality dependencies host - wasapi platform - windows
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
RustAudio/cpal#1416 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
host - pipewire platform - linux
Difficoltà 4/5 1-2 giorni Idoneità per principianti 52/100
RustAudio/cpal#1405 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
WASAPI: default-device activation fails with RPC_E_CHANGED_MODE after endpoint-notification callbacks put thread-pool threads into an STAForse già presa @dannyward630 l’ha presa 5 giorni fa. Apertacorrectness host - wasapi platform - windows
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
RustAudio/cpal#1402 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di RustAudio/cpal
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
compiler P4 perf
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
HerringtonDarkholme/hd-lang#1044 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue help wanted r-docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
servo/rust-smallvec#824 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
akitaonrails/ai-usagebar#552 ·
I maintainer di solito rispondono entro 1 giorno