-
Couldn't load subscription status.
- Fork 4
Open
Description
I am using this package in a dockerized Nextjs application. When i try to run the application, i get the error below. Is this something you encountered already?
Context:
- package.json with my dependencies
- instrumentation file from nextjs
- Instrumentation setup
web:dev: Error: An error occurred while loading instrumentation hook: Cannot find module '/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/web/package.json'
web:dev: at webpackEmptyContext (/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/web/.next/server/_instrument_node_modules_pnpm_appsignal_opentelemetry-instrumentation-bullmq_0_7_1_bullmq_5_4-44d1a0.js:20:10)
web:dev: at eval (webpack-internal:///(instrument)/../node_modules/.pnpm/@[email protected][email protected]/node_modules/@appsignal/opentelemetry-instrumentation-bullmq/dist/version.js:11:222)
web:dev: at (instrument)/../node_modules/.pnpm/@[email protected][email protected]/node_modules/@appsignal/opentelemetry-instrumentation-bullmq/dist/version.js (/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/web/.next/server/vendor-chunks/@[email protected][email protected]:42:1)
web:dev: at __webpack_require__ (/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/web/.next/server/webpack-runtime.js:33:43)
web:dev: at eval (webpack-internal:///(instrument)/../node_modules/.pnpm/@[email protected][email protected]/node_modules/@appsignal/opentelemetry-instrumentation-bullmq/dist/instrumentation.js:22:19)
web:dev: at (instrument)/../node_modules/.pnpm/@[email protected][email protected]/node_modules/@appsignal/opentelemetry-instrumentation-bullmq/dist/instrumentation.js (/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/web/.next/server/vendor-chunks/@[email protected][email protected]:52:1)
web:dev: at __webpack_require__ (/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/web/.next/server/webpack-runtime.js:33:43)
web:dev: at eval (webpack-internal:///(instrument)/../node_modules/.pnpm/@[email protected][email protected]/node_modules/@appsignal/opentelemetry-instrumentation-bullmq/dist/index.js:4:25)
web:dev: at (instrument)/../node_modules/.pnpm/@[email protected][email protected]/node_modules/@appsignal/opentelemetry-instrumentation-bullmq/dist/index.js (/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/web/.next/server/vendor-chunks/@[email protected][email protected]:31:1)
web:dev: at __webpack_require__ (/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/web/.next/server/webpack-runtime.js:33:43)
web:dev: at eval (webpack-internal:///(instrument)/./src/datadog.server.config.ts:14:105)
web:dev: at (instrument)/./src/datadog.server.config.ts (/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/web/.next/server/_instrument_node_modules_pnpm_appsignal_opentelemetry-instrumentation-bullmq_0_7_1_bullmq_5_4-44d1a0.js:142:1)
web:dev: at Function.__webpack_require__ (/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/web/.next/server/webpack-runtime.js:33:43)
web:dev: at async Module.register (webpack-internal:///(instrument)/./src/instrumentation.ts:15:9)
web:dev: at async DevServer.runInstrumentationHookIfAvailable (/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]_babel-plugin-_onhpcaxa43qd7mh36cjg7s3u5i/node_modules/next/dist/server/dev/next-dev-server.js:437:17)
web:dev: at async Span.traceAsyncFn (/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]_babel-plugin-_onhpcaxa43qd7mh36cjg7s3u5i/node_modules/next/dist/trace/trace.js:154:20)
web:dev: at async DevServer.prepareImpl (/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]_babel-plugin-_onhpcaxa43qd7mh36cjg7s3u5i/node_modules/next/dist/server/dev/next-dev-server.js:214:9)
web:dev: at async NextServer.prepare (/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]_babel-plugin-_onhpcaxa43qd7mh36cjg7s3u5i/node_modules/next/dist/server/next.js:161:13)
web:dev: at async initializeImpl (/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]_babel-plugin-_onhpcaxa43qd7mh36cjg7s3u5i/node_modules/next/dist/server/lib/render-server.js:98:5)
web:dev: at async initialize (/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]_babel-plugin-_onhpcaxa43qd7mh36cjg7s3u5i/node_modules/next/dist/server/lib/router-server.js:423:22)
web:dev: at async Server.<anonymous> (/Users/maximiliandeichmann/development/github.com/langfuse/langfuse/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]_babel-plugin-_onhpcaxa43qd7mh36cjg7s3u5i/node_modules/next/dist/server/lib/start-server.js:249:36) {
web:dev: code: 'MODULE_NOT_FOUND'
web:dev: }
Steffen911
Metadata
Metadata
Assignees
Labels
No labels