-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
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
Error with next build: Legacy octal escape is not permitted in strict mode #8
Comments
This is an interesting related issue: open-telemetry/opentelemetry-js#3759 It suggests that if you don't use the jaeger-exporter then this error should go away by upgrading to 0.39 of the OTEL Node SDK. However I tried doing this using pnpm overrides and it doesn't change anything. See this commit on my reproduction: tom-sherman/next-app-dir-tracing@bf1076b |
this is a blocking issue; if I can't build this I can't use it. |
Thank you for this feedback @tom-sherman, I saw a few of your tweets as well. Is this the key error preventing you from using Vercel OTEL? Are you aiming to use OTEL with a specific Observability provider? Or were you creating a custom log drain? |
@ucheNkadiCode Yep this is blocking us. We use Datadog so ideally looking to use the Vercel integration, but I know this isn't implemented with them yet (I have raised a feature request with Datadog for this). Without that official integration support I was then looking to setup my own log drain or integration into Datadog, but I'm blocked by this issue. |
I am trying to use this outside of vercel, running my nextjs app on an amazon ec2 instance with either the datadog-agent or an otelcol collector. but none of the collection methods matter if I can't build the app with the otel dependencies due to this octal escape issue. |
we have worked around this issue by removing nextjs and implementing our own server |
I tried the install steps again and it's now working on our app. Not sure what's changed though... |
This is also blocking my installation. We are using the new relic vercel integration. |
@murphpdx and @tom-sherman I’ll get our team to take a look. I’ll circle back once we’re able to do an investigation |
Has there been any update on this? |
Description
When trying to use this package with latest Next.js, I get a build failure using
next build
Steps to reproduce
pnpm create next-app my-app
pnpm run build
Expected:
Should build
Actual:
Throws
Legacy octal escape is not permitted in strict mode
.Reproduction repo
https://github.com/tom-sherman/next-app-dir-tracing
Additional info
vercel/otel version: 0.3.0
@opentelemetry/api: 1.4.1
The text was updated successfully, but these errors were encountered: