-
Notifications
You must be signed in to change notification settings - Fork 667
Description
Describe the bug
When I visit https://e2b.dev/docs and use Google Translate (either via right-click menu or Chrome's auto-translate prompt), the page crashes and becomes blank. This only happens after using the translation feature.
To Reproduce
Steps to reproduce the behavior:
- Go to https://e2b.dev/docs using Google Chrome
- Use Google Translate to translate the page (right-click and select "Translate to Chinese" or use the automatic translation bar)
- The page reloads and then becomes blank/unusable
- See error in the browser console
Expected behavior
The documentation page should remain usable and display correctly after translation.
Browser console output
42257-9af3e39355ee7f00.js:14 Vector identify called with duplicate external ID
42257-9af3e39355ee7f00.js:14 Visitor ID expired due to 30-day sync timeout, regenerating...
42257-9af3e39355ee7f00.js:14 NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
at aZ (bd4cbb64-e18687ae53f3c536.js:1:76190)
...
Terminal commands & output
No terminal commands used. This bug occurs when browsing the live documentation page.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. Windows 10]
- Browser: [e.g. Chrome]
- Version: [e.g. 116.0.5845.111]
Smartphone (please complete the following information):
- Device: [e.g. iPhone 14]
- OS: [e.g. iOS 16.6]
- Browser: [e.g. Safari]
- Version: [e.g. 16.6]
(如与手机无关可写N/A)
Additional context
This issue happens every time the Google Translate feature is used on the docs page. No such issue occurs without using translation.
