Skip to content
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

[BUG] DebugPlugin - helpers.js:334 Uncaught TypeError: Cannot convert a Symbol value to a string #1602

Closed
MSNev opened this issue Jul 6, 2021 · 3 comments

Comments

@MSNev
Copy link
Collaborator

MSNev commented Jul 6, 2021

Customer is getting the following stack trace from the debug plugin

helpers.js:334 Uncaught TypeError: Cannot convert a Symbol value to a string
at formatLogElements (helpers.js:334)
at formatLogElements (helpers.js:294)
at formatLogElements (helpers.js:294)
at formatLogElements (helpers.js:294)
at formatLogElements (helpers.js:294)
at formatLogElements (helpers.js:294)
at LogEntry._self.render (LogEntry.js:80)
at Array.eval (Dashboard.js:132)
at arrForEach (HelperFuncs.js:320)
at Dashboard._self.render (Dashboard.js:114)
at Dashboard._self.newLogEntry (Dashboard.js:92)
at Object.eventsSendRequest (DebugPlugin.js:119)
at eval (NotificationManager.js:66)

Appears that the debug plugin is attempting to enumerate all properties of an object and is hitting a Symbol value

@MSNev
Copy link
Collaborator Author

MSNev commented Jul 6, 2021

Symbols can't be implicitly converted to a string
https://www.thetopsites.net/article/58190910.shtml

image

MSNev added a commit that referenced this issue Jul 6, 2021
@MSNev MSNev added this to the 2.x.x (Next Release) milestone Jul 6, 2021
MSNev added a commit that referenced this issue Jul 6, 2021
MSNev added a commit that referenced this issue Jul 6, 2021
MSNev added a commit that referenced this issue Jul 6, 2021
@MSNev MSNev added fixed - waiting release PR Committed and waiting deployment released - NPM waiting - CDN deployment and removed fixed - waiting release PR Committed and waiting deployment waiting - CDN deployment labels Jul 6, 2021
@MSNev
Copy link
Collaborator Author

MSNev commented Jul 12, 2021

Now fully deployed to all CDN endpoints

@MSNev MSNev closed this as completed Jul 12, 2021
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant