Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no Environment variable at start of the app localy #57

Open
ArtAndSmirnov opened this issue Apr 29, 2024 · 2 comments
Open

There is no Environment variable at start of the app localy #57

ArtAndSmirnov opened this issue Apr 29, 2024 · 2 comments

Comments

@ArtAndSmirnov
Copy link

ArtAndSmirnov commented Apr 29, 2024

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.

@blueeon
Copy link
Contributor

blueeon commented Apr 29, 2024

cp .env.example .env
vi .env

then edit .env

@ArtAndSmirnov
Copy link
Author

ArtAndSmirnov commented Apr 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants