error
error: proc macro panicked --> src/utils/get_github_url.rs:6:1 | 6 | load_dotenv!(); | ^^^^^^^^^^^^^^ | = help: message: Failed to load .env file: Io(Custom { kind: NotFound, error: "path not found" })
error: environment variable GITHUB_OAUTH_CLIENT_ID
not defined --> src/utils/get_github_url.rs:9:21 | 9 | let client_id = std::env!("GITHUB_OAUTH_CLIENT_ID"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the macro std::env
(in Nightly builds, run with -Z macro-backtrace for more info)
error: environment variable GITHUB_OAUTH_REDIRECT_URL
not defined --> src/utils/get_github_url.rs:10:24 | 10 | let redirect_uri = std::env!("GITHUB_OAUTH_REDIRECT_URL"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the macro std::env
(in Nightly builds, run with -Z macro-backtrace for more info)
error: proc macro panicked --> src/utils/get_google_url.rs:6:1 | 6 | load_dotenv!(); | ^^^^^^^^^^^^^^ | = help: message: Failed to load .env file: Io(Custom { kind: NotFound, error: "path not found" })
error: environment variable GOOGLE_OAUTH_CLIENT_ID
not defined --> src/utils/get_google_url.rs:9:21 | 9 | let client_id = std::env!("GOOGLE_OAUTH_CLIENT_ID"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the macro std::env
(in Nightly builds, run with -Z macro-backtrace for more info)
error: environment variable GOOGLE_OAUTH_REDIRECT_URL
not defined --> src/utils/get_google_url.rs:10:24 | 10 | let redirect_uri = std::env!("GOOGLE_OAUTH_REDIRECT_URL"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the macro std::env
(in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile rust-yew-google-github-oauth2
due to 6 previous errors