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

There is no Environment variable at start of the app localy

Open ArtAndSmirnov opened this issue 9 months ago • 2 comments

Hi, When trying to launch app by "npm run dev" noticed that I have no environment variable (which I should see?).

Reproduction

  1. Go to Powershell and entering cd path
  2. Running "npm run dev"
  3. Getting output: image

Expected behavior Getting output (got it from another bug report): image

Desktop:

  • OS: Windows 11
  • Browser: Chrome
  • Version: 124.0.6367.92

Additional context Also catching traceback about updating SUNO_COOKIE. Binding it with the absence of environmental variable. Also tried to past cookie by methods from closed bug reports. Tried to reinstall suno-api - didn't help.

ArtAndSmirnov avatar Apr 29 '24 12:04 ArtAndSmirnov

cp .env.example .env
vi .env

then edit .env

blueeon avatar Apr 29 '24 15:04 blueeon

cp .env.example .env
vi .env

then edit .env

Thanks, variable appeared. But issue with cookie still exists. I have already tried to copy cookie like from "Get Started" instruction and from #19 but it ends in no results. Always getting traceback after updating "http://localhost:3000/api/get_limit": image

ArtAndSmirnov avatar Apr 29 '24 16:04 ArtAndSmirnov