suno-api icon indicating copy to clipboard operation
suno-api copied to clipboard

Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

Open thewbuk opened this issue 10 months ago • 0 comments

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

thewbuk avatar May 01 '24 01:05 thewbuk