BaxSTAR
Co-worker is missing auto-imports
Co-worker pulling changes from our nuxt project and is having errors because he is missing auto-imports in his imports.d.ts file in his .nuxt folder on his end that he is supposed to have despite having already run the command "npm i" , how to fix and make us have the same necessary auto imports?
5 replies
Reading audio files
Currently new to Nuxt, and I wanted to make automatic subtitles for the audio in my website so I went to find APIs that would help me with transcribing audio to text.
Everything was going fine until I encountered the problem with the 'fs' module not being available as vite won't allow it. I needed the 'fs' module in order to read the audio file and pass it to the transcription function, but without it, Im kinda lost. I've looked for solutions but a lot of them are for other types of files, and not for an audio file that can't be read like a text file. A lot of them also talk about middleware, which I have yet to touch in nuxt. How should I properly read an audio file in nuxt?
5 replies