Skip to content

Conversation

@9swampy
Copy link
Contributor

@9swampy 9swampy commented Apr 5, 2024

I'm still getting the process is not defined error using 1.2.5.

Implementing akin to how MarcoRS had proposed fixes for me

          still errors when it tries to access process. This worked for me : 
  let debugMode = false;
  try {
    if (process) {
      debugMode = !!process?.env?.REACT_APP_DEBUG_MODE;
    }
  } catch (err) {
    //Your error handling
  }

Originally posted by @MarcosRS in #17 (comment)

…nt guard long-hand akin to as MarcoRS had suggested.
@9swampy 9swampy changed the title Running under Vite still getting process not defined error so impleme… ReferenceError: process is not defined (Part II) Apr 5, 2024
@olavoparno olavoparno merged commit a4321c6 into the-bugging:develop Apr 9, 2024
@9swampy 9swampy deleted the features/BugProcessNotDefined branch April 16, 2024 21:30
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

Successfully merging this pull request may close these issues.

2 participants