You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add @sentry/nuxt to project using @sentry/wizard as described in docs
running dev server
Expected Result
running dev server
Actual Result
ERROR [worker reload] [worker init] /home/pogos/projects/ticketme/web/widget/.nuxt/dev/index.mjs failed 6:39:37 PM
[cause]: The requested module 'file:///home/pogos/projects/ticketme/node_modules/.pnpm/@[email protected]/node_modules/@sentry/core/cjs/index.js' does not provide an export named 'GLOBAL_OBJ'
import { dropUndefinedKeys, getTraceMetaTags, GLOBAL_OBJ, vercelWaitUntil, getClient, logger, flush, getIsolationScope, getDefaultIsolationScope, withIsolationScope } from '/home/pogos/projects/ticketme/node_modules/.pnpm/@[email protected]/node_modules/@sentry/core/cjs/index.js';
^^^^^^^^^^
SyntaxError: The requested module '/home/pogos/projects/ticketme/node_modules/.pnpm/@[email protected]/node_modules/@sentry/core/cjs/index.js' does not provide an export named 'GLOBAL_OBJ'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:180:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:263:5)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:547:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)
The text was updated successfully, but these errors were encountered:
Hy, thanks for reaching out. Sadly, I am not able to reproduce your issue with pnpm.
In the error message you posted, I can see that version 7.120.0 is used. This is weird and should not be the case. Do you have any other versions of Sentry installed?
Can you pnpm why @sentry/core and post the result here?
Is there an existing issue for this?
How do you use Sentry?
Self-hosted/on-premise
Which SDK are you using?
@sentry/nuxt
SDK Version
8.47.0
Framework Version
Nuxt 3.15.0
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
Expected Result
running dev server
Actual Result
The text was updated successfully, but these errors were encountered: