framer / motion

Open source, production-ready animation and gesture library for React
https://framer.com/motion
MIT License
22.15k stars 724 forks source link

[BUG] Docs: Application error: a client-side exception has occurred (see the browser console for more information). #2628

Open Nozomi-Hijikata opened 2 weeks ago

Nozomi-Hijikata commented 2 weeks ago

1. Description of the bug

When I visit the introduction page of Framer motion, an application error has occurred. How should I handle this?

The message shown in the screen below.

Application error: a client-side exception has occurred (see the browser console for more information).

The browser console message is attached in Section 5 below.

2. Steps to reproduce

Steps to reproduce the behavior:

  1. Open the introduction page in the browser.

3. Video or screenshots

Chrome

スクリーンショット 2024-04-18 12 12 47

Safari

スクリーンショット 2024-04-18 12 14 30

4. Environment details

macOS Sonoma ver14.3.1 Chrome(ver. 124.0.6367.62(Official Build)(arm64)) (even after cache were deleted) Safari(ver. 17.3.1 (19617.2.4.11.12))

5. Detail log

As I follow the instruction in the screen, the message attached below is displayed.

19Third-party cookie will be blocked. Learn more in the Issues tab.
api.framer.com/site/users/me:1 

 Failed to load resource: the server responded with a status of 401 ()
client:49 [GSI_LOGGER]: Your client application may not display the Google One Tap in its default position. When FedCM becomes mandatory, One Tap only displays in the default position. Refer to the migration guide to update your code accordingly and opt-in to FedCM to test your changes. Learn more: https://developers.google.com/identity/gsi/web/guides/fedcm-migration?s=dc#layout
_.y @ client:49
client:49 [GSI_LOGGER]: Your client application uses one of the Google One Tap prompt UI status methods that may stop functioning when FedCM becomes mandatory. Refer to the migration guide to update your code accordingly and opt-in to FedCM to test your changes. Learn more: https://developers.google.com/identity/gsi/web/guides/fedcm-migration?s=dc#display_moment and https://developers.google.com/identity/gsi/web/guides/fedcm-migration?s=dc#skipped_moment
_.y @ client:49
examples/:1 Third-party sign in was disabled in browser Site Settings.
api.framer.com/auth/signin:1 

 Failed to load resource: the server responded with a status of 401 ()
api.framer.com/site/users/me:1 

 Failed to load resource: the server responded with a status of 401 ()
client:50 [GSI_LOGGER]: FedCM get() rejects with AbortError: signal is aborted without reason
_.z @ client:50
examples/:1 Third-party sign in was disabled in browser Site Settings.
framework-336caa3f6419768205fe.js:1 TypeError: Failed to execute 'observe' on 'IntersectionObserver': parameter 1 is not of type 'Element'.
at [slug]-eefd1fea1566058c1e89.js:1:14699
at Ii (framework-336caa3f6419768205fe.js:1:105602)
at t.unstable_runWithPriority (framework-336caa3f6419768205fe.js:1:130401)
at Wl (framework-336caa3f6419768205fe.js:1:45773)
at Oi (framework-336caa3f6419768205fe.js:1:105063)
at framework-336caa3f6419768205fe.js:1:104974
at D (framework-336caa3f6419768205fe.js:1:129460)
at w.port1.onmessage (framework-336caa3f6419768205fe.js:1:128182)
uu @ framework-336caa3f6419768205fe.js:1
main-a3d202dbe74dc08b5ac7.js:1 TypeError: Failed to execute 'observe' on 'IntersectionObserver': parameter 1 is not of type 'Element'.
at [slug]-eefd1fea1566058c1e89.js:1:14699
at Ii (framework-336caa3f6419768205fe.js:1:105602)
at t.unstable_runWithPriority (framework-336caa3f6419768205fe.js:1:130401)
at Wl (framework-336caa3f6419768205fe.js:1:45773)
at Oi (framework-336caa3f6419768205fe.js:1:105063)
at framework-336caa3f6419768205fe.js:1:104974
at D (framework-336caa3f6419768205fe.js:1:129460)
at w.port1.onmessage (framework-336caa3f6419768205fe.js:1:128182)
le @ main-a3d202dbe74dc08b5ac7.js:1
main-a3d202dbe74dc08b5ac7.js:1 A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred
le @ main-a3d202dbe74dc08b5ac7.js:1
api.framer.com/auth/signin:1 

 Failed to load resource: the server responded with a status of 401 ()
api.framer.com/site/users/me:1 

 Failed to load resource: the server responded with a status of 401 ()
client:50 [GSI_LOGGER]: FedCM get() rejects with AbortError: signal is aborted without reason
_.z @ client:50
introduction/:1 Third-party sign in was disabled in browser Site Settings.
client:50 [GSI_LOGGER]: FedCM get() rejects with NetworkError: Error retrieving a token.
mattgperry commented 2 weeks ago

Thanks for the heads-up, we're gonna take a look