Hi, I’m encountering a blocking issue when trying to use v0 by Vercel for site generation.
Current Behavior:
Upon page load, I get this error in the console:
NODE_ENV cannot be accessed on the client.
Failed to initialize v0: Failed to register a ServiceWorker for scope ('https://kzmlj78x5nizg9wcg9yh.lite.vusercontent.net/') with script ('https://kzmlj78x5nizg9wcg9yh.lite.vusercontent.net/__v0_sw.js'): Operation has been aborted
Expected Behavior:
v0 should initialize and allow preview or generation as usual.
No ServiceWorker-related errors, and environment variables (NODE_ENV) should be properly scoped.
Hi, I’m encountering a blocking issue when trying to use v0 by Vercel for site generation.
Current Behavior:
Upon page load, I get this error in the console:
NODE_ENV cannot be accessed on the client.
Failed to initialize v0: Failed to register a ServiceWorker for scope ('https://kzmlj78x5nizg9wcg9yh.lite.vusercontent.net/') with script ('https://kzmlj78x5nizg9wcg9yh.lite.vusercontent.net/__v0_sw.js'): Operation has been aborted
Expected Behavior:
v0 should initialize and allow preview or generation as usual.
No ServiceWorker-related errors, and environment variables (NODE_ENV) should be properly scoped.