suno-api
suno-api copied to clipboard
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
Describe the bug
./node_modules/http-cookie-agent/dist/utils/validate_cookie_options.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
Import trace for requested module:
./node_modules/http-cookie-agent/dist/utils/validate_cookie_options.js
./node_modules/http-cookie-agent/dist/http/create_cookie_agent.js
./node_modules/http-cookie-agent/dist/http/index.js
./node_modules/http-cookie-agent/http/index.js
./node_modules/axios-cookiejar-support/dist/index.js
./src/lib/SunoApi.ts
./src/app/api/generate_lyrics/[id]/route.ts
○ Compiling /api/generate_lyrics/[id] ...
{"level":30,"time":1714525558430,"pid":33656,"hostname":"vee","msg":"KeepAlive...\n"}
newToken:===
To Reproduce Only happens occasionally; sometimes restarting or re-authenticating helps, sometimes not. Any help would be greatly appreciated.
Desktop (please complete the following information):
- Browser [Firefox]
Result
400 Bad Request