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

Uncaught ReferenceError: __DEFINES__ is not defined at env.ts:17:17 #18137

Open
7 tasks done
anthonybudd opened this issue Sep 18, 2024 · 1 comment
Open
7 tasks done
Labels
cannot reproduce The bug cannot be reproduced pending triage

Comments

@anthonybudd
Copy link

anthonybudd commented Sep 18, 2024

Describe the bug

I started work today an I'm getting this error for no aparent reason.

I have rolled back to my changes last night, I have re-cloned and re-installed the deps and I'm still getting this error.

Uncaught ReferenceError: __DEFINES__ is not defined at env.ts:17:17

I have seen someone else has had the same exact issue pop-up out of nowhere and the issue was closed.

  1. Uncaught ReferenceError: __DEFINES__ is not defined at env.ts:17:17 #14314
  2. Uncaught ReferenceError: __DEFINES__ is not defined #12845

Reproduction

CODEBASE-IS-PRIVATE.com

Steps to reproduce

NO IDEA.

Even when I'm using unmodifed code i still get this issue. The EXACT SAME code is running on the dev server fine right now

System Info

System:
    OS: macOS 12.2.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 513.41 MB / 64.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 18.20.4 - ~/.nvm/versions/node/v18.20.4/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v18.20.4/bin/yarn
    npm: 10.7.0 - ~/.nvm/versions/node/v18.20.4/bin/npm
    pnpm: 9.10.0 - ~/.nvm/versions/node/v18.20.4/bin/pnpm
  Browsers:
    Brave Browser: 128.1.69.162
    Safari: 15.3
  npmPackages:
    @vitejs/plugin-vue: ^4.0.0 => 4.6.2 
    vite: ^4.2.0 => 4.5.5

Used Package Manager

npm

Logs

No response

Validations

@sapphi-red
Copy link
Member

Would you try this (#14314 (comment))?

@sapphi-red sapphi-red added the cannot reproduce The bug cannot be reproduced label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cannot reproduce The bug cannot be reproduced pending triage
Projects
None yet
Development

No branches or pull requests

2 participants