Hey thank you for this repo!
Not sure what I am doing wrong, but I am just getting a blank page when I run start and navigate to http://localhost:8080/client/public/ which is where the app is accessible from a docker container.
The docker container itself is from https://github.com/btassone/docker-wasm-rust/
and I had trouble with it as well so perhaps this is the issue: btassone/docker-wasm-rust#1
So, I figured I would just install the pitch-detection-app and resolve any dependancies as needed. Only, I am not quite sure if I was supposed to install each of the components first?
Anyway, Here are the warnings I see:
``
npm run start
[email protected] start /var/www/html/project/pitchperfect/www/dist/client
npm run build:worker && react-scripts start
[email protected] build:worker /var/www/html/project/pitchperfect/www/dist/client
rollup -c
worker/index.ts โ public/pitch-detection/worker.js...
(!) Plugin typescript: @rollup/plugin-typescript TS5055: Cannot write file '/var/www/html/project/pitchperfect/www/dist/client/src/constants/colors.js' because it would overwrite input file.
(!) Unresolved dependencies
https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
pitch-detection-wasm (imported by worker/index.ts)
created public/pitch-detection/worker.js in 16.8s
Compiled with warnings.
src/components/loader/index.tsx
Line 3:10: 'BACKGROUND' is defined but never used @typescript-eslint/no-unused-vars
Line 36:67: Using target="_blank" without rel="noreferrer" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener react/jsx-no-target-blank
Line 45:71: Using target="_blank" without rel="noreferrer" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener react/jsx-no-target-blank
Line 85:11: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text
src/components/pitch/index.tsx
Line 6:33: 'SECONDARY_LIGHT' is defined but never used @typescript-eslint/no-unused-vars
Line 6:66: 'PRIMARY_LIGHT' is defined but never used @typescript-eslint/no-unused-vars
Line 99:13: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.