Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: window is not defined #53

Open
vagrant1991 opened this issue Dec 8, 2024 · 0 comments
Open

ReferenceError: window is not defined #53

vagrant1991 opened this issue Dec 8, 2024 · 0 comments
Assignees

Comments

@vagrant1991
Copy link

Install the GUI
2024-12-06 15:33:54
2024-12-06 15:33:54 > [email protected] build
2024-12-06 15:33:54 > next build && next export && tsc -project tsconfig.server.json
2024-12-06 15:33:54
2024-12-06 15:33:54 - info Skipping linting
2024-12-06 15:33:54 - info Checking validity of types...
2024-12-06 15:33:58 - info Creating an optimized production build...
2024-12-06 15:34:18 - info Compiled successfully
2024-12-06 15:34:18 - info Collecting page data...
2024-12-06 15:34:20 ReferenceError: window is not defined
2024-12-06 15:34:20 at fetchPreviousNotifications (/home/node/app/gui/build/server/chunks/132.js:140:35)
2024-12-06 15:34:20 at /home/node/app/gui/build/server/chunks/132.js:146:30
2024-12-06 15:34:20 ReferenceError: window is not defined
2024-12-06 15:34:20 at fetchPreviousNotifications (/home/node/app/gui/build/server/chunks/132.js:140:35)
2024-12-06 15:34:20 at /home/node/app/gui/build/server/chunks/132.js:146:30
2024-12-06 15:34:20 ReferenceError: window is not defined
2024-12-06 15:34:20 at fetchPreviousNotifications (/home/node/app/gui/build/server/chunks/132.js:140:35)
2024-12-06 15:34:20 at /home/node/app/gui/build/server/chunks/132.js:146:30
2024-12-06 15:34:20 ReferenceError: window is not defined
2024-12-06 15:34:20 at fetchPreviousNotifications (/home/node/app/gui/build/server/chunks/132.js:140:35)
2024-12-06 15:34:20 at /home/node/app/gui/build/server/chunks/132.js:146:30
2024-12-06 15:34:20 ReferenceError: window is not defined
2024-12-06 15:34:20 at fetchPreviousNotifications (/home/node/app/gui/build/server/chunks/132.js:140:35)
2024-12-06 15:34:20 at /home/node/app/gui/build/server/chunks/132.js:146:30
2024-12-06 15:34:20 ReferenceError: window is not defined
2024-12-06 15:34:20 at fetchPreviousNotifications (/home/node/app/gui/build/server/chunks/132.js:140:35)
2024-12-06 15:34:20 at /home/node/app/gui/build/server/chunks/132.js:146:30
2024-12-06 15:34:20 ReferenceError: window is not defined
2024-12-06 15:34:20 at fetchPreviousNotifications (/home/node/app/gui/build/server/chunks/132.js:140:35)
2024-12-06 15:34:20 at /home/node/app/gui/build/server/chunks/132.js:146:30
2024-12-06 15:34:23 - info Generating static pages (0/11)
2024-12-06 15:34:23 - info Generating static pages (2/11)
2024-12-06 15:34:23 - info Generating static pages (5/11)
2024-12-06 15:34:23 - info Generating static pages (8/11)
2024-12-06 15:34:23 - info Generating static pages (11/11)
2024-12-06 15:34:24 - info Finalizing page optimization...
2024-12-06 15:34:24
2024-12-06 15:34:24 Route (pages) Size First Load JS
2024-12-06 15:34:24 ┌ ○ / 292 B 291 kB
2024-12-06 15:34:24 ├ /_app 0 B 291 kB
2024-12-06 15:34:24 ├ ○ /404 185 B 291 kB
2024-12-06 15:34:24 ├ ○ /alert-info 337 B 291 kB
2024-12-06 15:34:24 ├ ○ /dashboard 42.2 kB 432 kB
2024-12-06 15:34:24 ├ ○ /login 3.37 kB 393 kB
2024-12-06 15:34:24 ├ ○ /maintenance (339 ms) 7.44 kB 437 kB
2024-12-06 15:34:24 ├ ○ /network 1.02 kB 292 kB
2024-12-06 15:34:24 ├ ○ /onboarding 200 B 383 kB
2024-12-06 15:34:24 ├ ○ /performance 2.08 kB 355 kB
2024-12-06 15:34:24 └ ○ /settings 2.35 kB 301 kB
2024-12-06 15:34:24 + First Load JS shared by all 307 kB
2024-12-06 15:34:24 ├ chunks/framework-aec4381329cec0e4.js 45.2 kB
2024-12-06 15:34:24 ├ chunks/main-e4759cce8cfd033f.js 27.8 kB
2024-12-06 15:34:24 ├ chunks/pages/_app-942b4f4bbb8ab206.js 216 kB
2024-12-06 15:34:24 ├ chunks/webpack-51cd8670c2354567.js 2.32 kB
2024-12-06 15:34:24 └ css/45fa447b04dfc99b.css 16.2 kB
2024-12-06 15:34:24
2024-12-06 15:34:24 ○ (Static) automatically rendered as static HTML (uses no initial props)
2024-12-06 15:34:24
2024-12-06 15:34:25 - info using build directory: /home/node/app/gui/build
2024-12-06 15:34:25 - info Copying "static build" directory
2024-12-06 15:34:25 - info Launching 7 workers
2024-12-06 15:34:25 - info Exporting (0/11)
2024-12-06 15:34:25 - info Copying "public" directory
2024-12-06 15:34:26 ReferenceError: window is not defined
2024-12-06 15:34:26 at fetchPreviousNotifications (/home/node/app/gui/build/server/chunks/132.js:140:35)
2024-12-06 15:34:26 at /home/node/app/gui/build/server/chunks/132.js:146:30
2024-12-06 15:34:26 ReferenceError: window is not defined
2024-12-06 15:34:26 at fetchPreviousNotifications (/home/node/app/gui/build/server/chunks/132.js:140:35)
2024-12-06 15:34:26 at /home/node/app/gui/build/server/chunks/132.js:146:30
2024-12-06 15:34:26 ReferenceError: window is not defined
2024-12-06 15:34:26 at fetchPreviousNotifications (/home/node/app/gui/build/server/chunks/132.js:140:35)
2024-12-06 15:34:26 at /home/node/app/gui/build/server/chunks/132.js:146:30
2024-12-06 15:34:26 ReferenceError: window is not defined
2024-12-06 15:34:26 at fetchPreviousNotifications (/home/node/app/gui/build/server/chunks/132.js:140:35)
2024-12-06 15:34:26 at /home/node/app/gui/build/server/chunks/132.js:146:30
2024-12-06 15:34:26 ReferenceError: window is not defined
2024-12-06 15:34:26 at fetchPreviousNotifications (/home/node/app/gui/build/server/chunks/132.js:140:35)
2024-12-06 15:34:26 at /home/node/app/gui/build/server/chunks/132.js:146:30
2024-12-06 15:34:26 ReferenceError: window is not defined
2024-12-06 15:34:26 at fetchPreviousNotifications (/home/node/app/gui/build/server/chunks/132.js:140:35)
2024-12-06 15:34:26 at /home/node/app/gui/build/server/chunks/132.js:146:30
2024-12-06 15:34:26 ReferenceError: window is not defined
2024-12-06 15:34:26 at fetchPreviousNotifications (/home/node/app/gui/build/server/chunks/132.js:140:35)
2024-12-06 15:34:26 at /home/node/app/gui/build/server/chunks/132.js:146:30
2024-12-06 15:34:28 - info Exporting (2/11)
2024-12-06 15:34:28 - info Exporting (5/11)
2024-12-06 15:34:28 - info Exporting (8/11)
2024-12-06 15:34:28 - info Exporting (11/11)
2024-12-06 15:34:28 Export successful. Files written to /home/node/app/gui/out
2024-12-06 15:34:31 y
2024-12-06 15:34:31 Starting operator gui
2024-12-06 15:34:34 done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants