Kakapo-app
Kakapo-app copied to clipboard
net::ERR_FILE_NOT_FOUND for sound files
I wanted to set up a development environment for fixing issue #16, but development builds don't have audio. It turns out Kakapo can't find the audio files. Here is the log of the desktop app:
client.js:67 [HMR] connected
client.js:160 [HMR] bundle has 3 warnings
client.js:161 ./node_modules/ajv/lib/async.js
96:20-33 Critical dependency: the request of a dependency is an expression
./node_modules/ajv/lib/async.js
119:15-28 Critical dependency: the request of a dependency is an expression
./node_modules/ajv/lib/compile/index.js
13:21-34 Critical dependency: the request of a dependency is an expression
index.html:1 GET file:///path/to/Kakapo-app/build/sounds/birds.ogg net::ERR_FILE_NOT_FOUND
index.html:1 GET file:///path/to/Kakapo-app/build/sounds/paris_cafe.ogg net::ERR_FILE_NOT_FOUND
index.html:1 GET file:///path/to/Kakapo-app/build/sounds/birds.ogg net::ERR_FILE_NOT_FOUND
index.html:1 GET file:///path/to/Kakapo-app/build/sounds/bonfire.ogg net::ERR_FILE_NOT_FOUND
index.html:1 GET file:///path/to/Kakapo-app/build/sounds/rain.ogg net::ERR_FILE_NOT_FOUND
index.html:1 GET file:///path/to/Kakapo-app/build/sounds/paris_cafe.ogg net::ERR_FILE_NOT_FOUND
index.html:1 GET file:///path/to/Kakapo-app/build/sounds/cat_purr.ogg net::ERR_FILE_NOT_FOUND
index.html:1 GET file:///path/to/Kakapo-app/build/sounds/chimes.ogg net::ERR_FILE_NOT_FOUND
index.html:1 GET file:///path/to/Kakapo-app/build/sounds/fan.ogg net::ERR_FILE_NOT_FOUND
index.html:1 GET file:///path/to/Kakapo-app/build/sounds/leaves.ogg net::ERR_FILE_NOT_FOUND
index.html:1 GET file:///path/to/Kakapo-app/build/sounds/paris_street_corner.ogg net::ERR_FILE_NOT_FOUND
index.html:1 GET file:///path/to/Kakapo-app/build/sounds/stream.ogg net::ERR_FILE_NOT_FOUND
index.html:1 GET file:///path/to/Kakapo-app/build/sounds/thunder.ogg net::ERR_FILE_NOT_FOUND
index.html:1 GET file:///path/to/Kakapo-app/build/sounds/train.ogg net::ERR_FILE_NOT_FOUND
index.html:1 GET file:///path/to/Kakapo-app/build/sounds/waves.ogg net::ERR_FILE_NOT_FOUND
index.html:1 GET file:///path/to/Kakapo-app/build/sounds/wind.ogg net::ERR_FILE_NOT_FOUND
The mentioned sounds
directory does not exist. The sounds are in node_modules/kakapo_assets/sounds/
and are properly converted to OGG. No difference between the develop
and the master
branch. I'm at a loss at why this happens and would appreciate any help.