Invalid or Unexpected Token’ in env.mjs
I keep getting this error message ‘5173/node_modules/v…st/client/env.mjs:1 Uncaught SyntaxError: Invalid or unexpected token’ in my browser when i try to run my vite application
undefined when use the env react with vite
i use react with vite and i want to use an env variable in my project. but i got undefined everytime i call the env variable. i have follow the documentation of vite and try a many solutions in internet but it still throw undefined error.