/
nek5132
/
Genius
Обзор
Документация
Войти
/
nek5132
/
Genius
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
dev.log
103 строки
6 KB
Peter Kosov
fix: move all DOM-dependent code inside DOMContentLoaded to resolve timing issues
12 апр 2026, 22:45
12 апр 2026, 22:45
5623586
Код
Авторство
О чём код?
> genius-graph-engine@0.1.0 dev > vite VITE v5.4.21 ready in 158 ms ➜ Local: http://localhost:3000/ 23:26:04 [vite] page reload dist-site/index.html 23:26:05 [vite] page reload dist-site/index.html 23:29:04 [vite] page reload index.html 23:29:08 [vite] page reload src/core/GraphState.js 23:29:11 [vite] page reload dist-site/index.html 23:29:12 [vite] page reload dist-site/index.html 23:29:24 [vite] page reload src/main.js 23:30:47 [vite] page reload index.html 23:30:54 [vite] page reload src/main.js 23:31:40 [vite] page reload src/main.js 23:33:06 [vite] page reload dist-site/index.html 23:33:07 [vite] page reload dist-site/index.html 23:37:32 [vite] page reload index.html 23:38:11 [vite] page reload src/main.js 23:38:20 [vite] page reload src/main.js 23:41:24 [vite] page reload index.html 23:41:50 [vite] page reload src/main.js 23:42:00 [vite] page reload src/main.js 23:46:10 [vite] page reload index.html 23:46:24 [vite] page reload index.html 23:47:16 [vite] page reload index.html 23:47:26 [vite] page reload src/main.js 23:48:08 [vite] page reload src/main.js 23:48:19 [vite] page reload src/main.js 23:48:30 [vite] page reload src/main.js 23:48:48 [vite] page reload src/main.js 23:49:04 [vite] page reload src/main.js 23:51:33 [vite] page reload index.html 23:51:44 [vite] page reload src/main.js 23:51:55 [vite] page reload src/main.js 23:52:38 [vite] page reload src/main.js 23:53:09 [vite] page reload src/main.js 23:53:19 [vite] page reload src/main.js 23:53:29 [vite] page reload src/main.js 23:53:38 [vite] page reload src/main.js 23:58:48 [vite] page reload index.html 23:59:31 [vite] page reload src/main.js 23:59:43 [vite] page reload src/main.js 23:59:54 [vite] page reload src/main.js 00:00:07 [vite] page reload src/main.js 00:00:19 [vite] page reload src/main.js 00:06:37 [vite] page reload dist-site/index.html 00:06:37 [vite] page reload dist-site/index.html 00:06:37 [vite] page reload dist-site/index.html 00:08:59 [vite] page reload index.html 00:09:07 [vite] page reload src/main.js 00:09:17 [vite] page reload src/render/ThreeAdapter.js 00:09:26 [vite] page reload src/render/ThreeAdapter.js 00:12:09 [vite] page reload index.html 00:12:18 [vite] page reload src/main.js 00:12:32 [vite] page reload src/main.js 00:12:42 [vite] page reload src/main.js 00:12:55 [vite] page reload src/main.js 00:13:08 [vite] page reload src/main.js 00:16:09 [vite] page reload index.html 00:16:20 [vite] page reload src/main.js 00:16:29 [vite] page reload src/main.js 00:16:39 [vite] page reload src/main.js 00:16:49 [vite] page reload src/main.js 00:34:04 [vite] page reload src/components/TreeGraph.js 00:34:05 [vite] Pre-transform error: Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension. 00:34:05 [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension. Plugin: vite:import-analysis File: /home/zoya/Code/Genius/src/components/TreeGraph.js:1:1 1 | import * as THREE from 'three'; | ^ 2 | import { LayoutEngine } from '../core/LayoutEngine.js'; 3 | import { normalizeGenealogyState } from '../core/GraphState.js'; at TransformPluginContext._formatError (file:///home/zoya/Code/Genius/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:49258:41) at TransformPluginContext.error (file:///home/zoya/Code/Genius/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:49253:16) at TransformPluginContext.transform (file:///home/zoya/Code/Genius/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:64259:14) at async PluginContainer.transform (file:///home/zoya/Code/Genius/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:49099:18) at async loadAndTransform (file:///home/zoya/Code/Genius/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:51978:27) at async viteTransformMiddleware (file:///home/zoya/Code/Genius/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:62106:24) 00:34:05 [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension. Plugin: vite:import-analysis File: /home/zoya/Code/Genius/src/components/TreeGraph.js:1:1 1 | import * as THREE from 'three'; | ^ 2 | import { LayoutEngine } from '../core/LayoutEngine.js'; 3 | import { normalizeGenealogyState } from '../core/GraphState.js'; at TransformPluginContext._formatError (file:///home/zoya/Code/Genius/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:49258:41) at TransformPluginContext.error (file:///home/zoya/Code/Genius/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:49253:16) at TransformPluginContext.transform (file:///home/zoya/Code/Genius/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:64259:14) at async PluginContainer.transform (file:///home/zoya/Code/Genius/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:49099:18) at async loadAndTransform (file:///home/zoya/Code/Genius/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:51978:27) at async viteTransformMiddleware (file:///home/zoya/Code/Genius/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:62106:24) 00:34:21 [vite] page reload src/components/TreeGraph.js 00:34:34 [vite] page reload src/main.js 00:34:41 [vite] page reload index.html 00:34:53 [vite] page reload src/main.js 00:35:08 [vite] page reload src/main.js 00:35:45 [vite] page reload src/main.js 00:36:01 [vite] page reload index.html 00:40:37 [vite] page reload src/render/ThreeAdapter.js 00:40:48 [vite] page reload src/components/TreeGraph.js