Beta deploy (npm run build:beta) fails on all webservers with:
Module not found: Error: Can't resolve '../contexts/AccountContext' in
'.../llm-fe/src/llm-fe/components/AnalyticsSession'
That leaves /var/www/beta.chat.aimloperations/html empty, so https://beta.hesychia.ai/ returns nginx 403.
Cause
AnalyticsSession.tsx lives under components/AnalyticsSession/, so imports need ../../contexts/... and ../../utils/... (same as Header, AnalyticsConsentBanner, Tracker). It incorrectly used a single ../.
Fix
Correct the four relative imports in AnalyticsSession.tsx, then re-run beta deploy.
## Problem
Beta deploy (`npm run build:beta`) fails on all webservers with:
```
Module not found: Error: Can't resolve '../contexts/AccountContext' in
'.../llm-fe/src/llm-fe/components/AnalyticsSession'
```
That leaves `/var/www/beta.chat.aimloperations/html` empty, so `https://beta.hesychia.ai/` returns nginx **403**.
## Cause
`AnalyticsSession.tsx` lives under `components/AnalyticsSession/`, so imports need `../../contexts/...` and `../../utils/...` (same as `Header`, `AnalyticsConsentBanner`, `Tracker`). It incorrectly used a single `../`.
## Fix
Correct the four relative imports in `AnalyticsSession.tsx`, then re-run beta deploy.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
Beta deploy (
npm run build:beta) fails on all webservers with:That leaves
/var/www/beta.chat.aimloperations/htmlempty, sohttps://beta.hesychia.ai/returns nginx 403.Cause
AnalyticsSession.tsxlives undercomponents/AnalyticsSession/, so imports need../../contexts/...and../../utils/...(same asHeader,AnalyticsConsentBanner,Tracker). It incorrectly used a single../.Fix
Correct the four relative imports in
AnalyticsSession.tsx, then re-run beta deploy.