SAYUK09 / Audiogram

An app that converts your audio snippets into shareable & engaging Audiogram, customized your way
https://www.loom.com/share/9509ffdf7de54792a8c3f23b62dc7b75?sid=43d71a21-b901-4917-a19e-fddd3ce28696
6 stars 1 forks source link

Run into issues #1

Open wuzimi opened 9 months ago

wuzimi commented 9 months ago

I can't use it. It always shows something wrong if I use production mode. But with dev mode, I saw no result. Pls see attached screen shot. Any requirement for the format of audio and picture? Mp3 and png/jpeg?

Thanks! issue

SAYUK09 commented 9 months ago

Thanks for opening an issue.

See the revised Readme for more information.

Let me know if that works.

wuzimi commented 9 months ago

Thanks for your reply. I tried again today. For dev mode, pls see attached screen shot. I used a jpeg and a mp3 file. For production mode, I executed yarn build and got some errors in attached screenshots:

:\Users\Administrator\Documents\GitHub\Audiogram-master>yarn build yarn run v1.22.21 $ next build ▲ Next.js 14.1.0

Linting and checking validity of types ...Failed to compile.

./pages/_app.tsx:29:12 Type error: 'Component' cannot be used as a JSX component. Its element type 'ReactElement<any, any> | Component<any, any, any> | null' is not a valid JSX element. Type 'Component<any, any, any>' is not assignable to type 'Element | ElementClass | null'. Type 'Component<any, any, any>' is not assignable to type 'ElementClass'. The types returned by 'render()' are incompatible between these types. Type 'React.ReactNode' is not assignable to type 'import("C:/Users/Administrator/Documents/GitHub/Audiogram-master/node_modules/@types/react-dom/node_modules/@types/react/ts5.0/index").ReactNode'. Type 'ReactElement<any, string | JSXElementConstructor>' is not assignable to type 'ReactNode'. Property 'children' is missing in type 'ReactElement<any, string | JSXElementConstructor>' but required in type 'ReactPortal'.

27 | > 28 |

29 | <Component {...pageProps} /> | ^ 30 | 31 | 32 | </> error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

dev

yarn build

SAYUK09 commented 9 months ago

Thanks for getting back.

I suggest you to please setup the Nodejs Backend and Flask API mentioned above