riffusion/riffusion-app-hobby

cant generate music

cattoman1 opened this issue · 0 comments

i keep getting the error

error - TypeError: Failed to parse URL from undefined
    at Object.fetch (node:internal/deps/undici/undici:11576:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async handler (webpack-internal:///(api)/./pages/api/server.js:10:22)
    at async Object.apiResolver (C:\riffusion\riffusion-app\node_modules\next\dist\server\api-utils\node.js:367:9)
    at async DevServer.runApi (C:\riffusion\riffusion-app\node_modules\next\dist\server\next-server.js:474:9)
    at async Object.fn (C:\riffusion\riffusion-app\node_modules\next\dist\server\next-server.js:736:37)
    at async Router.execute (C:\riffusion\riffusion-app\node_modules\next\dist\server\router.js:252:36)
    at async DevServer.run (C:\riffusion\riffusion-app\node_modules\next\dist\server\base-server.js:384:29)
    at async DevServer.run (C:\riffusion\riffusion-app\node_modules\next\dist\server\dev\next-dev-server.js:732:20)
    at async DevServer.handleRequest (C:\riffusion\riffusion-app\node_modules\next\dist\server\base-server.js:322:20) {
  page: '/api/server',
  [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
      at new NodeError (node:internal/errors:405:5)
      at new URL (node:internal/url:637:13)
      at new Request (node:internal/deps/undici/undici:7132:25)
      at fetch2 (node:internal/deps/undici/undici:10715:25)
      at Object.fetch (node:internal/deps/undici/undici:11574:18)
      at fetch (node:internal/process/pre_execution:242:25)
      at handler (webpack-internal:///(api)/./pages/api/server.js:10:28)
      at Object.apiResolver (C:\riffusion\riffusion-app\node_modules\next\dist\server\api-utils\node.js:367:15)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async DevServer.runApi (C:\riffusion\riffusion-app\node_modules\next\dist\server\next-server.js:474:9) {
    input: 'undefined',
    code: 'ERR_INVALID_URL'
  }
}