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

ReferenceError: process is not definedBug: (fill in) #13

Open
4 tasks done
eliawk opened this issue Jun 13, 2024 · 3 comments
Open
4 tasks done

ReferenceError: process is not definedBug: (fill in) #13

eliawk opened this issue Jun 13, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@eliawk
Copy link

eliawk commented Jun 13, 2024

Prerequisites

Describe the issue

Using:

  const { getUser } = await getKindeSession(request)
  const user = await getUser()

inside a loader give this error in the console fo the browser and break the application:
ReferenceError: process is not defined
Schermata 2024-06-13 alle 15 33 42

Library URL

https://github.com/kinde-oss/kinde-remix-sdk

Library version

1.0.3

Operating system(s)

macOS

Operating system version(s)

12.6

Further environment details

System:
OS: macOS 12.6
CPU: (10) arm64 Apple M1 Pro
Memory: 2.13 GB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 20.14.0 - ~/.nvm/versions/node/v20.14.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v20.14.0/bin/yarn
npm: 10.7.0 - ~/.nvm/versions/node/v20.14.0/bin/npm
Watchman: 2023.10.30.00 - /opt/homebrew/bin/watchman
Browsers:
Chrome: 125.0.6422.142
Safari: 16.0

Reproducible test case URL

No response

Additional information

No response

@eliawk eliawk added the bug Something isn't working label Jun 13, 2024
@peterphanouvong
Copy link
Collaborator

We're looking into this issue!

@alistairholt
Copy link

Has anything progressed with this?

@jmims-magnusdigital
Copy link

Have you tried using import.meta.env.VITE_KINDE_CLIENT_ID?

https://vite.dev/guide/env-and-mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants