-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: msg.startsWith is not a function on Guestbook page #636
Comments
i had the same error , until someone told me : #634 (comment) |
I've found a workaround some time ago. (On latest next version) You need to install next-auth manual commit version "pnpm": {
"overrides": {
"@opentelemetry/api": "1.4.1",
"@opentelemetry/core": "1.13.0",
"@opentelemetry/exporter-trace-otlp-grpc": "0.39.1",
"@opentelemetry/resources": "1.13.0",
"@opentelemetry/sdk-trace-base": "1.13.0",
"@opentelemetry/sdk-trace-node": "1.13.0",
"@opentelemetry/semantic-conventions": "1.13.0"
}
}, After that make a clean install of packages and try again, in my projects it worked like a charm. IF you would still have problems with that, feel free to get in touch (discord: z4nr34l) |
This error should not existst now, as I see that page was migrated out from contentlayer, so had I done in my repository, and cant reproduce this issue anymore. @leerob could you close the issue as it is outdated? |
So like I mentioned on the title, I get this error whenever I open the
guestbook/
page:Unhandled Runtime Error
Error: msg.startsWith is not a function
Source
console.error
node_modules\.pnpm\[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\esm\server\app-render\preload-component.js (5:0)
This is what I see on the console:
I am out of my depth here. I tried to find
msg.startsWith
on the whole project, but there were no results of it. What could this be?The text was updated successfully, but these errors were encountered: