We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Init a new next.js project using the genkit CLI. Then add the googleCloud plugin and enable telemetry.
⚠ ./node_modules/@opentelemetry/instrumentation-winston/build/src/instrumentation.js Module not found: Can't resolve '@opentelemetry/winston-transport' in '/Users/michaeldoyle/repos/thirdparty/nextjs/node_modules/@opentelemetry/instrumentation-winston/build/src' Import trace for requested module: ./node_modules/@opentelemetry/instrumentation-winston/build/src/instrumentation.js ./node_modules/@opentelemetry/instrumentation-winston/build/src/index.js ./node_modules/@genkit-ai/google-cloud/lib/gcpOpenTelemetry.js ./node_modules/@genkit-ai/google-cloud/lib/index.mjs ./src/app/genkit.ts ./src/app/flow1/page.tsx ./node_modules/@opentelemetry/sdk-node/build/src/TracerProviderWithEnvExporter.js Module not found: Can't resolve '@opentelemetry/exporter-jaeger' in '/Users/michaeldoyle/repos/thirdparty/nextjs/node_modules/@opentelemetry/sdk-node/build/src'
Similar to #928, the workaround is to install and/or externalize the dependencies.
/** @type {import('next').NextConfig} */ const nextConfig = { experimental: { serverComponentsExternalPackages: [ "@opentelemetry/sdk-node", "@opentelemetry/winston-transport", ], }, }; export default nextConfig;
Runtime (please complete the following information):
Node: 20.17.0 Genkit: 0.5.13 Next: 14.2.12
** Node version**
v20.17.0
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
MichaelDoyle
No branches or pull requests
Describe the bug
Init a new next.js project using the genkit CLI. Then add the googleCloud plugin and enable telemetry.
Similar to #928, the workaround is to install and/or externalize the dependencies.
Runtime (please complete the following information):
Node: 20.17.0
Genkit: 0.5.13
Next: 14.2.12
** Node version**
v20.17.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: