RandomNick
RandomNick
CDCloudflare Developers
Created by RandomNick on 1/2/2024 in #pages-help
Web Analytics do not report fecthed URLs
Hi, I have a small SPA website, and have activated the web analytics. It workls fine, but does not report any fecth calls from the APP. Is this expected? Is tpossible to have analytics on fetch calls? FWIW, I am on the free plan. Regards
2 replies
CDCloudflare Developers
Created by RandomNick on 8/14/2023 in #pages-help
docusaurus site with react component fails to build
I have a small docusaurus website, that I would like to test on pages. The site builds and run fines with npm start and npm build, but fails building on CF pages with the following errors :
19:31:16.192 Module not found: Error: Can't resolve '@site/src/Components/ListAllCities.js' in '/opt/buildhome/repo/docs'
19:31:16.192 Module not found: Error: Can't resolve '@site/src/Components/NextCity' in '/opt/buildhome/repo/docs'
19:31:16.192 Module not found: Error: Can't resolve '@site/src/Components/Home' in '/opt/buildhome/repo/docs'
19:31:16.192 Module not found: Error: Can't resolve '@site/src/Components/NextCity' in '/opt/buildhome/repo/docs'
19:31:16.192 [ERROR] Client bundle compiled with errors therefore further build is impossible.
19:31:16.295 Failed: Error while executing user command. Exited with error code: 1
19:31:16.192 Module not found: Error: Can't resolve '@site/src/Components/ListAllCities.js' in '/opt/buildhome/repo/docs'
19:31:16.192 Module not found: Error: Can't resolve '@site/src/Components/NextCity' in '/opt/buildhome/repo/docs'
19:31:16.192 Module not found: Error: Can't resolve '@site/src/Components/Home' in '/opt/buildhome/repo/docs'
19:31:16.192 Module not found: Error: Can't resolve '@site/src/Components/NextCity' in '/opt/buildhome/repo/docs'
19:31:16.192 [ERROR] Client bundle compiled with errors therefore further build is impossible.
19:31:16.295 Failed: Error while executing user command. Exited with error code: 1
Is there a config somewhere to have the react components referenced in the mdx files to properly resolve? AM I missing something obvious?
2 replies