gcui-art/suno-api

Module not found: Can't resolve 'agent-base'

Closed this issue · 0 comments

Describe the bug
I get the following error:

Import trace for requested module:
./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/get_limit/route.ts
 ⨯ ./node_modules/http-cookie-agent/dist/http/mixed_cookie_agent.js:7:0
Module not found: Can't resolve 'agent-base'

To Reproduce
Steps to reproduce the behavior:
Install the api using npm install

Expected behavior
The tool to work

Screenshots
error

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Firefox