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

[Bug]: NEXT_PUBLIC_CIVITAI_LINK: Invalid url #1055

Open
raccoon111 opened this issue Mar 10, 2024 · 0 comments
Open

[Bug]: NEXT_PUBLIC_CIVITAI_LINK: Invalid url #1055

raccoon111 opened this issue Mar 10, 2024 · 0 comments
Labels
bug-report Something might not be working

Comments

@raccoon111
Copy link

What happened?

When accessing localhost: 3000, this error will be reported and the browser will display Invalid environment variables

Steps to reproduce the problem

  1. npm run dev

What should have happened?

It should be a valid address

What platforms do you use to access the site?

No response

What browsers do you use to access the site?

No response

Additional information, context and logs

error - src\env\client.mjs (19:8) @ eval
error - Error: Invalid environment variables
at eval (webpack-internal:///./src/env/client.mjs:19:11) {
page: '/'
}
17 | if (!_clientEnv.success) {
18 | console.error('❌ Invalid environment variables:\n', ...formatErrors(_clientEnv.error.format()));

19 | throw new Error('Invalid environment variables');
| ^
20 | }
21 |
22 | for (const key of Object.keys(_clientEnv.data)) {
event - compiled client and server successfully in 834 ms (9356 modules)
❌ Invalid environment variables:
NEXT_PUBLIC_CIVITAI_LINK: Invalid url

@raccoon111 raccoon111 added the bug-report Something might not be working label Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Something might not be working
Projects
None yet
Development

No branches or pull requests

1 participant