create-nexgen 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +26 -0
- package/src/index.js +108 -0
- package/template/.dockerignore +14 -0
- package/template/.env +58 -0
- package/template/.env.example +59 -0
- package/template/.prettierignore +5 -0
- package/template/.prettierrc +8 -0
- package/template/README.md +447 -0
- package/template/drizzle.config.ts +29 -0
- package/template/eslint.config.js +52 -0
- package/template/gitignore-stub +24 -0
- package/template/package.json +96 -0
- package/template/public/assets/AuthLayout-CbswhpjJ.js +1 -0
- package/template/public/assets/Button-_7aQ7gHL.js +1 -0
- package/template/public/assets/Input-CLNJXmKc.css +1 -0
- package/template/public/assets/Input-z8GI8Aqo.js +1 -0
- package/template/public/assets/InputPasswordToggle-BxlzVGp3.js +1 -0
- package/template/public/assets/InputPasswordToggle-C77FI9Eg.css +1 -0
- package/template/public/assets/Layout-DotR1sQC.js +1 -0
- package/template/public/assets/Refresh-BdqsPPBC.js +1 -0
- package/template/public/assets/admin-ui-CU34rLdN.js +1 -0
- package/template/public/assets/bootstrap-icons-BeopsB42.woff +0 -0
- package/template/public/assets/bootstrap-icons-mSm7cUeB.woff2 +0 -0
- package/template/public/assets/dashboard-CwybEyLc.js +1 -0
- package/template/public/assets/dashboard-Dc4d-Pi7.css +1 -0
- package/template/public/assets/forgetPassword-CKEJaXsq.js +1 -0
- package/template/public/assets/index-Bleyx5dm.js +64 -0
- package/template/public/assets/index-DUw8E6Yg.css +1 -0
- package/template/public/assets/login-DC7PTlQF.js +1 -0
- package/template/public/assets/realtime-test-BPQdrFym.css +1 -0
- package/template/public/assets/realtime-test-tQZ0rBEJ.js +1 -0
- package/template/public/assets/register-3O7Qs28C.js +1 -0
- package/template/public/assets/resetPassword-A5AzMWKs.js +1 -0
- package/template/public/assets/verifyEmail-DDBEQHOv.js +1 -0
- package/template/public/index.html +17 -0
- package/template/src/database/migrations/mysql/0000_init.sql +73 -0
- package/template/src/database/migrations/mysql/meta/0000_snapshot.json +484 -0
- package/template/src/database/migrations/mysql/meta/_journal.json +13 -0
- package/template/src/database/schema.ts +4 -0
- package/template/src/env.ts +107 -0
- package/template/src/framework/cache/cache.ts +81 -0
- package/template/src/framework/database/connection.ts +168 -0
- package/template/src/framework/database/optional-db-drivers.d.ts +9 -0
- package/template/src/framework/database/paginate.ts +200 -0
- package/template/src/framework/database/schema.ts +26 -0
- package/template/src/framework/database/seed.ts +33 -0
- package/template/src/framework/events/dispatcher.ts +57 -0
- package/template/src/framework/facade.ts +27 -0
- package/template/src/framework/http/app.ts +61 -0
- package/template/src/framework/http/cors.ts +19 -0
- package/template/src/framework/http/logger.ts +85 -0
- package/template/src/framework/http/openapi.ts +34 -0
- package/template/src/framework/http/ratelimiter.ts +13 -0
- package/template/src/framework/http/router.ts +76 -0
- package/template/src/framework/http/static.ts +33 -0
- package/template/src/framework/http/validation.ts +24 -0
- package/template/src/framework/kernel.ts +40 -0
- package/template/src/framework/maker-cli/src/index.mjs +51 -0
- package/template/src/framework/maker-cli/src/levels/level-1/env-db.mjs +57 -0
- package/template/src/framework/maker-cli/src/levels/level-1/file-ops.mjs +30 -0
- package/template/src/framework/maker-cli/src/levels/level-1/flags.mjs +16 -0
- package/template/src/framework/maker-cli/src/levels/level-1/help.mjs +24 -0
- package/template/src/framework/maker-cli/src/levels/level-1/naming.mjs +13 -0
- package/template/src/framework/maker-cli/src/levels/level-1/process.mjs +47 -0
- package/template/src/framework/maker-cli/src/levels/level-2/db/core.mjs +299 -0
- package/template/src/framework/maker-cli/src/levels/level-2/db/index.mjs +177 -0
- package/template/src/framework/maker-cli/src/levels/level-2/deploy/core.mjs +635 -0
- package/template/src/framework/maker-cli/src/levels/level-2/deploy/index.mjs +145 -0
- package/template/src/framework/maker-cli/src/levels/level-2/module/core.mjs +707 -0
- package/template/src/framework/maker-cli/src/levels/level-2/module/index.mjs +116 -0
- package/template/src/framework/maker-cli/src/levels/level-2/runtime/build-frontend.mjs +16 -0
- package/template/src/framework/maker-cli/src/levels/level-2/runtime/core.mjs +311 -0
- package/template/src/framework/maker-cli/src/levels/level-2/runtime/index.mjs +71 -0
- package/template/src/framework/maker-cli/stubs/controller/openapi.ts.stub +55 -0
- package/template/src/framework/maker-cli/stubs/controller/openapi.with-model.ts.stub +56 -0
- package/template/src/framework/maker-cli/stubs/controller/plain.ts.stub +57 -0
- package/template/src/framework/maker-cli/stubs/controller/schema.plain.ts.stub +13 -0
- package/template/src/framework/maker-cli/stubs/controller/schema.ts.stub +32 -0
- package/template/src/framework/maker-cli/stubs/deploy/Dockerfile.bun.stub +49 -0
- package/template/src/framework/maker-cli/stubs/deploy/Dockerfile.pnpm.stub +53 -0
- package/template/src/framework/maker-cli/stubs/deploy/Dockerfile.stub +49 -0
- package/template/src/framework/maker-cli/stubs/deploy/Dockerfile.yarn.stub +53 -0
- package/template/src/framework/maker-cli/stubs/deploy/README.stub +55 -0
- package/template/src/framework/maker-cli/stubs/deploy/compose/mysql.server.stub +29 -0
- package/template/src/framework/maker-cli/stubs/deploy/compose/postgres.server.stub +29 -0
- package/template/src/framework/maker-cli/stubs/deploy/compose/sqlite.stub +29 -0
- package/template/src/framework/maker-cli/stubs/deploy/env/mysql.server.stub +73 -0
- package/template/src/framework/maker-cli/stubs/deploy/env/postgres.server.stub +73 -0
- package/template/src/framework/maker-cli/stubs/deploy/env/sqlite.stub +72 -0
- package/template/src/framework/maker-cli/stubs/deploy/scripts/auto-migrate.sh.stub +15 -0
- package/template/src/framework/maker-cli/stubs/deploy/server/README.stub +77 -0
- package/template/src/framework/maker-cli/stubs/deploy/server/compose/noredis.stub +118 -0
- package/template/src/framework/maker-cli/stubs/deploy/server/compose/redis.dev.stub +131 -0
- package/template/src/framework/maker-cli/stubs/deploy/server/compose/redis.stub +129 -0
- package/template/src/framework/maker-cli/stubs/deploy/server/env/local.example.stub +10 -0
- package/template/src/framework/maker-cli/stubs/deploy/server/env/noredis.stub +24 -0
- package/template/src/framework/maker-cli/stubs/deploy/server/env/redis.stub +24 -0
- package/template/src/framework/maker-cli/stubs/deploy/server/nginx-vhost/README.stub +15 -0
- package/template/src/framework/maker-cli/stubs/deploy/server/nginx-vhost/app.example.com.stub +12 -0
- package/template/src/framework/maker-cli/stubs/deploy/server/pgadmin/servers.stub +13 -0
- package/template/src/framework/maker-cli/stubs/deploy/server/redis/redis.conf.stub +6 -0
- package/template/src/framework/maker-cli/stubs/deploy/supervisor/noredis.stub +53 -0
- package/template/src/framework/maker-cli/stubs/deploy/supervisor/redis.stub +69 -0
- package/template/src/framework/maker-cli/stubs/deploy/workflow/local.json.stub +24 -0
- package/template/src/framework/maker-cli/stubs/deploy/workflow/remote.json.stub +20 -0
- package/template/src/framework/maker-cli/stubs/example/console.ts.stub +33 -0
- package/template/src/framework/maker-cli/stubs/example/controller.ts.stub +503 -0
- package/template/src/framework/maker-cli/stubs/example/job.ts.stub +74 -0
- package/template/src/framework/maker-cli/stubs/example/route.api.ts.stub +206 -0
- package/template/src/framework/maker-cli/stubs/example/schema.ts.stub +41 -0
- package/template/src/framework/maker-cli/stubs/job/name.ts.stub +24 -0
- package/template/src/framework/maker-cli/stubs/model/name.mysql.ts.stub +8 -0
- package/template/src/framework/maker-cli/stubs/model/name.postgresql.ts.stub +8 -0
- package/template/src/framework/maker-cli/stubs/model/name.sqlite.ts.stub +8 -0
- package/template/src/framework/maker-cli/stubs/notification/NotificationBell.vue.stub +218 -0
- package/template/src/framework/maker-cli/stubs/notification/controller.ts.stub +85 -0
- package/template/src/framework/maker-cli/stubs/notification/index.vue.stub +211 -0
- package/template/src/framework/maker-cli/stubs/notification/job.ts.stub +12 -0
- package/template/src/framework/maker-cli/stubs/notification/route.api.ts.stub +49 -0
- package/template/src/framework/maker-cli/stubs/notification/schema.ts.stub +25 -0
- package/template/src/framework/maker-cli/stubs/route/api.ts.stub +79 -0
- package/template/src/framework/maker-cli/stubs/route/plain.ts.stub +10 -0
- package/template/src/framework/maker-cli/stubs/schedule/name.ts.stub +35 -0
- package/template/src/framework/maker-cli/stubs/seeder/name.ts.stub +17 -0
- package/template/src/framework/modules/discover.ts +54 -0
- package/template/src/framework/modules/routes.ts +26 -0
- package/template/src/framework/notification/index.ts +109 -0
- package/template/src/framework/queue/clear.ts +20 -0
- package/template/src/framework/queue/queue.ts +213 -0
- package/template/src/framework/queue/ui.ts +104 -0
- package/template/src/framework/queue/worker.ts +33 -0
- package/template/src/framework/realtime/broadcast.ts +27 -0
- package/template/src/framework/realtime/index.ts +1 -0
- package/template/src/framework/realtime/socket-cookie.ts +65 -0
- package/template/src/framework/realtime/socket.ts +132 -0
- package/template/src/framework/realtime/types.ts +6 -0
- package/template/src/framework/realtime/ui.ts +16 -0
- package/template/src/framework/redis/client.ts +126 -0
- package/template/src/framework/scheduler/lock.ts +124 -0
- package/template/src/framework/scheduler/run.ts +26 -0
- package/template/src/framework/scheduler/scheduler.ts +82 -0
- package/template/src/framework/server.ts +147 -0
- package/template/src/framework/session/session.ts +116 -0
- package/template/src/framework/storage/storage.ts +743 -0
- package/template/src/framework/support/cookie.ts +78 -0
- package/template/src/framework/support/jwt.ts +45 -0
- package/template/src/framework/support/lifecycle.ts +35 -0
- package/template/src/framework/support/logger.ts +102 -0
- package/template/src/framework/support/mail.ts +43 -0
- package/template/src/framework/support/password.ts +23 -0
- package/template/src/framework/support/url.ts +25 -0
- package/template/src/middlewares/auth-middleware.ts +98 -0
- package/template/src/middlewares/role-middleware.ts +24 -0
- package/template/src/modules/auth/controllers/auth.controller.ts +445 -0
- package/template/src/modules/auth/controllers/auth.helpers.ts +110 -0
- package/template/src/modules/auth/controllers/auth.schema.ts +102 -0
- package/template/src/modules/auth/controllers/role.controller.ts +25 -0
- package/template/src/modules/auth/database/models/notifications.ts +22 -0
- package/template/src/modules/auth/database/models/role.ts +14 -0
- package/template/src/modules/auth/database/models/user.ts +46 -0
- package/template/src/modules/auth/database/seeders/role.ts +19 -0
- package/template/src/modules/auth/database/seeders/user.ts +33 -0
- package/template/src/modules/auth/jobs/forgetpass.ts +18 -0
- package/template/src/modules/auth/jobs/registeruser.ts +31 -0
- package/template/src/modules/auth/jobs/verifyemail.ts +18 -0
- package/template/src/modules/auth/routes/api.ts +151 -0
- package/template/src/modules/auth/routes/role.ts +39 -0
- package/template/src/modules/welcome/controllers/welcome.controller.ts +14 -0
- package/template/src/modules/welcome/controllers/welcome.schema.ts +6 -0
- package/template/src/modules/welcome/database/models/welcome.ts +6 -0
- package/template/src/modules/welcome/routes/api.ts +20 -0
- package/template/src/resources/index.html +16 -0
- package/template/src/resources/src/App.vue +5 -0
- package/template/src/resources/src/assets/css/styles.css +14934 -0
- package/template/src/resources/src/assets/css/styles.css.map +1 -0
- package/template/src/resources/src/assets/images/favicon/favicon.ico +0 -0
- package/template/src/resources/src/assets/images/favicon/favicon1.ico +0 -0
- package/template/src/resources/src/assets/images/logo-1.png +0 -0
- package/template/src/resources/src/assets/images/logo-dark-sm.png +0 -0
- package/template/src/resources/src/assets/images/logo-dark.png +0 -0
- package/template/src/resources/src/assets/images/logo-dark1.png +0 -0
- package/template/src/resources/src/assets/images/logo-sm.png +0 -0
- package/template/src/resources/src/assets/images/logo1.png +0 -0
- package/template/src/resources/src/assets/images/logo2.png +0 -0
- package/template/src/resources/src/assets/scss/custom.css +217 -0
- package/template/src/resources/src/assets/scss/custom.css.map +1 -0
- package/template/src/resources/src/assets/scss/custom.scss +1100 -0
- package/template/src/resources/src/components/Button.vue +35 -0
- package/template/src/resources/src/components/Checkbox.vue +29 -0
- package/template/src/resources/src/components/FloatButton.vue +36 -0
- package/template/src/resources/src/components/Href.vue +32 -0
- package/template/src/resources/src/components/Input.vue +227 -0
- package/template/src/resources/src/components/InputGroup.vue +153 -0
- package/template/src/resources/src/components/InputPasswordToggle.vue +226 -0
- package/template/src/resources/src/components/Modal.vue +102 -0
- package/template/src/resources/src/components/Pagebar.vue +28 -0
- package/template/src/resources/src/components/Refresh.vue +26 -0
- package/template/src/resources/src/components/Select.vue +390 -0
- package/template/src/resources/src/components/Spinner.vue +42 -0
- package/template/src/resources/src/components/Switch.vue +65 -0
- package/template/src/resources/src/components/TextArea.vue +121 -0
- package/template/src/resources/src/components/Toast.vue +56 -0
- package/template/src/resources/src/components/datatable/DataTableSkeleton.vue +99 -0
- package/template/src/resources/src/components/datatable/Pagination.vue +161 -0
- package/template/src/resources/src/components/datatable/SelectOpption.vue +54 -0
- package/template/src/resources/src/components/datatable/index.vue +237 -0
- package/template/src/resources/src/composables/useAuth.ts +52 -0
- package/template/src/resources/src/composables/useBrowserDetect.ts +5 -0
- package/template/src/resources/src/composables/useDialog.ts +5 -0
- package/template/src/resources/src/composables/useGum.ts +3 -0
- package/template/src/resources/src/composables/usePulse.ts +5 -0
- package/template/src/resources/src/env.d.ts +20 -0
- package/template/src/resources/src/helpers/nformatter.ts +10 -0
- package/template/src/resources/src/helpers/utils.ts +68 -0
- package/template/src/resources/src/layouts/AuthLayout.vue +20 -0
- package/template/src/resources/src/layouts/Layout/Footer.vue +23 -0
- package/template/src/resources/src/layouts/Layout/Header.vue +90 -0
- package/template/src/resources/src/layouts/Layout/Sidebar.vue +137 -0
- package/template/src/resources/src/layouts/Layout/index.vue +76 -0
- package/template/src/resources/src/main.ts +27 -0
- package/template/src/resources/src/pages/auth/forgetPassword.vue +76 -0
- package/template/src/resources/src/pages/auth/login.vue +93 -0
- package/template/src/resources/src/pages/auth/register.vue +130 -0
- package/template/src/resources/src/pages/auth/resetPassword.vue +119 -0
- package/template/src/resources/src/pages/auth/verifyEmail.vue +60 -0
- package/template/src/resources/src/pages/dashboard/index.vue +76 -0
- package/template/src/resources/src/plugins/axios.ts +33 -0
- package/template/src/resources/src/plugins/browserDetect.ts +55 -0
- package/template/src/resources/src/plugins/dialog.ts +167 -0
- package/template/src/resources/src/plugins/gum.ts +343 -0
- package/template/src/resources/src/plugins/pulse.ts +141 -0
- package/template/src/resources/src/plugins/routeProgress.ts +87 -0
- package/template/src/resources/src/router/index.ts +85 -0
- package/template/src/resources/src/stores/admin-ui.ts +148 -0
- package/template/src/resources/src/stores/auth.ts +151 -0
- package/template/src/resources/tsconfig.json +19 -0
- package/template/src/resources/vite.config.ts +43 -0
- package/template/src/storage/logs/app.log +20179 -0
- package/template/src/storage/logs/fatal.log +727 -0
- package/template/tsconfig.json +20 -0
|
@@ -0,0 +1,727 @@
|
|
|
1
|
+
[19:24:30] error -> Mail send failed
|
|
2
|
+
{
|
|
3
|
+
"to": "niyam@example.com",
|
|
4
|
+
"subject": "Account Creation",
|
|
5
|
+
"error": "connect ECONNREFUSED 127.0.0.1:1089"
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
[19:24:34] error -> Mail send failed
|
|
9
|
+
{
|
|
10
|
+
"to": "niyam@example.com",
|
|
11
|
+
"subject": "Account Creation",
|
|
12
|
+
"error": "connect ECONNREFUSED 127.0.0.1:1089"
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[19:24:40] error -> Mail send failed
|
|
16
|
+
{
|
|
17
|
+
"to": "niyam@example.com",
|
|
18
|
+
"subject": "Account Creation",
|
|
19
|
+
"error": "connect ECONNREFUSED 127.0.0.1:1089"
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[19:24:47] error -> Mail send failed
|
|
23
|
+
{
|
|
24
|
+
"to": "niyam@example.com",
|
|
25
|
+
"subject": "Account Creation",
|
|
26
|
+
"error": "connect ECONNREFUSED 127.0.0.1:1089"
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[19:25:55] error -> Mail send failed
|
|
30
|
+
{
|
|
31
|
+
"to": "niyamulahsan@gmail.com",
|
|
32
|
+
"subject": "Account Creation",
|
|
33
|
+
"error": "connect ECONNREFUSED 127.0.0.1:1089"
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[19:25:58] error -> Mail send failed
|
|
37
|
+
{
|
|
38
|
+
"to": "niyamulahsan@gmail.com",
|
|
39
|
+
"subject": "Account Creation",
|
|
40
|
+
"error": "connect ECONNREFUSED 127.0.0.1:1089"
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[19:26:04] error -> Mail send failed
|
|
44
|
+
{
|
|
45
|
+
"to": "niyamulahsan@gmail.com",
|
|
46
|
+
"subject": "Account Creation",
|
|
47
|
+
"error": "connect ECONNREFUSED 127.0.0.1:1089"
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
[19:34:04] error -> Mail send failed
|
|
51
|
+
{
|
|
52
|
+
"to": "niyamulahsan@gmail.com",
|
|
53
|
+
"subject": "Account Creation",
|
|
54
|
+
"error": "connect ECONNREFUSED 127.0.0.1:1089"
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
[19:34:07] error -> Mail send failed
|
|
58
|
+
{
|
|
59
|
+
"to": "niyamulahsan@gmail.com",
|
|
60
|
+
"subject": "Account Creation",
|
|
61
|
+
"error": "connect ECONNREFUSED 127.0.0.1:1089"
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
[19:34:13] error -> Mail send failed
|
|
65
|
+
{
|
|
66
|
+
"to": "niyamulahsan@gmail.com",
|
|
67
|
+
"subject": "Account Creation",
|
|
68
|
+
"error": "connect ECONNREFUSED 127.0.0.1:1089"
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[19:45:10] error -> Mail send failed
|
|
72
|
+
{
|
|
73
|
+
"to": "niyamulahsan@gmail.com",
|
|
74
|
+
"subject": "Account Creation",
|
|
75
|
+
"error": "connect ECONNREFUSED 127.0.0.1:1088"
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[19:45:13] error -> Mail send failed
|
|
79
|
+
{
|
|
80
|
+
"to": "niyamulahsan@gmail.com",
|
|
81
|
+
"subject": "Account Creation",
|
|
82
|
+
"error": "connect ECONNREFUSED 127.0.0.1:1088"
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
[19:45:19] error -> Mail send failed
|
|
86
|
+
{
|
|
87
|
+
"to": "niyamulahsan@gmail.com",
|
|
88
|
+
"subject": "Account Creation",
|
|
89
|
+
"error": "connect ECONNREFUSED 127.0.0.1:1088"
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
[22:49:35] error -> Mail send failed
|
|
93
|
+
{
|
|
94
|
+
"to": "niyam@example.com",
|
|
95
|
+
"subject": "Account Creation",
|
|
96
|
+
"error": "connect ECONNREFUSED 127.0.0.1:1089"
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
[22:49:38] error -> Mail send failed
|
|
100
|
+
{
|
|
101
|
+
"to": "niyam@example.com",
|
|
102
|
+
"subject": "Account Creation",
|
|
103
|
+
"error": "connect ECONNREFUSED 127.0.0.1:1089"
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
[22:49:44] error -> Mail send failed
|
|
107
|
+
{
|
|
108
|
+
"to": "niyam@example.com",
|
|
109
|
+
"subject": "Account Creation",
|
|
110
|
+
"error": "connect ECONNREFUSED 127.0.0.1:1089"
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
[10:33:50] error -> F:\framework\nexgen\template\src\modules\notification\controllers\notification.controller.ts:2
|
|
114
|
+
import { db, eq, desc, and, sql, count } from "@/framework/facade.js";
|
|
115
|
+
^
|
|
116
|
+
SyntaxError: The requested module '@/framework/facade.js' does not provide an export named 'and'
|
|
117
|
+
at #asyncInstantiate (node:internal/modules/esm/module_job:302:21)
|
|
118
|
+
at async ModuleJob.run (node:internal/modules/esm/module_job:405:5)
|
|
119
|
+
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:660:26)
|
|
120
|
+
at async importFile (F:\framework\nexgen\template\src\framework\modules\discover.ts:53:10)
|
|
121
|
+
at async registerModuleRoutes (F:\framework\nexgen\template\src\framework\modules\routes.ts:18:19)
|
|
122
|
+
at async createKernel (F:\framework\nexgen\template\src\framework\kernel.ts:25:3)
|
|
123
|
+
at async <anonymous> (F:\framework\nexgen\template\src\framework\server.ts:38:28)
|
|
124
|
+
{
|
|
125
|
+
"error": {},
|
|
126
|
+
"exception": true,
|
|
127
|
+
"date": "Tue May 19 2026 10:33:50 GMT+0600 (Bangladesh Standard Time)",
|
|
128
|
+
"process": {
|
|
129
|
+
"pid": 9584,
|
|
130
|
+
"uid": null,
|
|
131
|
+
"gid": null,
|
|
132
|
+
"cwd": "F:\\framework\\nexgen\\template",
|
|
133
|
+
"execPath": "F:\\LARAGON\\bin\\nodejs\\node-v24\\node.exe",
|
|
134
|
+
"version": "v24.12.0",
|
|
135
|
+
"argv": "[F:\\LARAGON\\bin\\nodejs\\node-v24\\node.exe F:\\framework\\nexgen\\template\\src\\framework\\server.ts]",
|
|
136
|
+
"memoryUsage": "rss=237715456 heapTotal=190345216 heapUsed=80718448 external=8883579 arrayBuffers=4141907"
|
|
137
|
+
},
|
|
138
|
+
"os": {
|
|
139
|
+
"loadavg": "[0,0,0]",
|
|
140
|
+
"uptime": 6210.093
|
|
141
|
+
},
|
|
142
|
+
"trace": [
|
|
143
|
+
{
|
|
144
|
+
"column": 21,
|
|
145
|
+
"file": "node:internal/modules/esm/module_job",
|
|
146
|
+
"function": "#asyncInstantiate",
|
|
147
|
+
"line": 302,
|
|
148
|
+
"method": null,
|
|
149
|
+
"native": false
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"column": 5,
|
|
153
|
+
"file": "node:internal/modules/esm/module_job",
|
|
154
|
+
"function": "async ModuleJob.run",
|
|
155
|
+
"line": 405,
|
|
156
|
+
"method": "run",
|
|
157
|
+
"native": false
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"column": 26,
|
|
161
|
+
"file": "node:internal/modules/esm/loader",
|
|
162
|
+
"function": "async onImport.tracePromise.__proto__",
|
|
163
|
+
"line": 660,
|
|
164
|
+
"method": "__proto__",
|
|
165
|
+
"native": false
|
|
166
|
+
},
|
|
167
|
+
"... 4 more frame(s)"
|
|
168
|
+
]
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
[10:33:54] error -> F:\framework\nexgen\template\src\modules\notification\controllers\notification.controller.ts:2
|
|
172
|
+
import { db, eq, desc, and, sql, count } from "@/framework/facade.js";
|
|
173
|
+
^
|
|
174
|
+
SyntaxError: The requested module '@/framework/facade.js' does not provide an export named 'and'
|
|
175
|
+
at #asyncInstantiate (node:internal/modules/esm/module_job:302:21)
|
|
176
|
+
at async ModuleJob.run (node:internal/modules/esm/module_job:405:5)
|
|
177
|
+
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:660:26)
|
|
178
|
+
at async importFile (F:\framework\nexgen\template\src\framework\modules\discover.ts:53:10)
|
|
179
|
+
at async registerModuleRoutes (F:\framework\nexgen\template\src\framework\modules\routes.ts:18:19)
|
|
180
|
+
at async createKernel (F:\framework\nexgen\template\src\framework\kernel.ts:25:3)
|
|
181
|
+
at async <anonymous> (F:\framework\nexgen\template\src\framework\server.ts:38:28)
|
|
182
|
+
{
|
|
183
|
+
"error": {},
|
|
184
|
+
"exception": true,
|
|
185
|
+
"date": "Tue May 19 2026 10:33:54 GMT+0600 (Bangladesh Standard Time)",
|
|
186
|
+
"process": {
|
|
187
|
+
"pid": 21868,
|
|
188
|
+
"uid": null,
|
|
189
|
+
"gid": null,
|
|
190
|
+
"cwd": "F:\\framework\\nexgen\\template",
|
|
191
|
+
"execPath": "F:\\LARAGON\\bin\\nodejs\\node-v24\\node.exe",
|
|
192
|
+
"version": "v24.12.0",
|
|
193
|
+
"argv": "[F:\\LARAGON\\bin\\nodejs\\node-v24\\node.exe F:\\framework\\nexgen\\template\\src\\framework\\server.ts]",
|
|
194
|
+
"memoryUsage": "rss=235950080 heapTotal=189820928 heapUsed=81410280 external=8884179 arrayBuffers=4142507"
|
|
195
|
+
},
|
|
196
|
+
"os": {
|
|
197
|
+
"loadavg": "[0,0,0]",
|
|
198
|
+
"uptime": 6213.359
|
|
199
|
+
},
|
|
200
|
+
"trace": [
|
|
201
|
+
{
|
|
202
|
+
"column": 21,
|
|
203
|
+
"file": "node:internal/modules/esm/module_job",
|
|
204
|
+
"function": "#asyncInstantiate",
|
|
205
|
+
"line": 302,
|
|
206
|
+
"method": null,
|
|
207
|
+
"native": false
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"column": 5,
|
|
211
|
+
"file": "node:internal/modules/esm/module_job",
|
|
212
|
+
"function": "async ModuleJob.run",
|
|
213
|
+
"line": 405,
|
|
214
|
+
"method": "run",
|
|
215
|
+
"native": false
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"column": 26,
|
|
219
|
+
"file": "node:internal/modules/esm/loader",
|
|
220
|
+
"function": "async onImport.tracePromise.__proto__",
|
|
221
|
+
"line": 660,
|
|
222
|
+
"method": "__proto__",
|
|
223
|
+
"native": false
|
|
224
|
+
},
|
|
225
|
+
"... 4 more frame(s)"
|
|
226
|
+
]
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
[10:35:02] error -> Error: Failed query: select count(*) from `notifications` where (`notifications`.`user_id` = ? and `notifications`.`read_at` IS NULL)
|
|
230
|
+
params:
|
|
231
|
+
at MySql2PreparedQuery.queryWithCache (F:\framework\nexgen\template\node_modules\src\mysql-core\session.ts:79:11)
|
|
232
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
233
|
+
at async MySql2PreparedQuery.execute (F:\framework\nexgen\template\node_modules\src\mysql2\session.ts:132:18)
|
|
234
|
+
at async list (F:\framework\nexgen\template\src\modules\notification\controllers\notification.controller.ts:11:18)
|
|
235
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
236
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
237
|
+
at async file:///F:/framework/nexgen/template/node_modules/hono-rate-limiter/dist/index.js:295:7
|
|
238
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
239
|
+
at async loggerMiddleware (F:\framework\nexgen\template\src\framework\http\logger.ts:28:3)
|
|
240
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
241
|
+
{
|
|
242
|
+
"requestId": "2dc05310-aa3a-4b41-ba6b-edb4074a4eb4",
|
|
243
|
+
"name": "Error",
|
|
244
|
+
"method": "GET",
|
|
245
|
+
"path": "/api/notification",
|
|
246
|
+
"url": "http://localhost:3000/api/notification?perPage=5",
|
|
247
|
+
"ip": null,
|
|
248
|
+
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36"
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
[10:35:04] error -> Error: Failed query: select count(*) from `notifications` where (`notifications`.`user_id` = ? and `notifications`.`read_at` IS NULL)
|
|
252
|
+
params:
|
|
253
|
+
at MySql2PreparedQuery.queryWithCache (F:\framework\nexgen\template\node_modules\src\mysql-core\session.ts:79:11)
|
|
254
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
255
|
+
at async MySql2PreparedQuery.execute (F:\framework\nexgen\template\node_modules\src\mysql2\session.ts:132:18)
|
|
256
|
+
at async list (F:\framework\nexgen\template\src\modules\notification\controllers\notification.controller.ts:11:18)
|
|
257
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
258
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
259
|
+
at async file:///F:/framework/nexgen/template/node_modules/hono-rate-limiter/dist/index.js:295:7
|
|
260
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
261
|
+
at async loggerMiddleware (F:\framework\nexgen\template\src\framework\http\logger.ts:28:3)
|
|
262
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
263
|
+
{
|
|
264
|
+
"requestId": "c48a2bad-cd09-497e-87e8-6e228da26b7c",
|
|
265
|
+
"name": "Error",
|
|
266
|
+
"method": "GET",
|
|
267
|
+
"path": "/api/notification",
|
|
268
|
+
"url": "http://localhost:3000/api/notification?perPage=5",
|
|
269
|
+
"ip": null,
|
|
270
|
+
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:150.0) Gecko/20100101 Firefox/150.0"
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
[10:35:27] error -> Error: Failed query: select count(*) from `notifications` where (`notifications`.`user_id` = ? and `notifications`.`read_at` IS NULL)
|
|
274
|
+
params:
|
|
275
|
+
at MySql2PreparedQuery.queryWithCache (F:\framework\nexgen\template\node_modules\src\mysql-core\session.ts:79:11)
|
|
276
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
277
|
+
at async MySql2PreparedQuery.execute (F:\framework\nexgen\template\node_modules\src\mysql2\session.ts:132:18)
|
|
278
|
+
at async list (F:\framework\nexgen\template\src\modules\notification\controllers\notification.controller.ts:11:18)
|
|
279
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
280
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
281
|
+
at async file:///F:/framework/nexgen/template/node_modules/hono-rate-limiter/dist/index.js:295:7
|
|
282
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
283
|
+
at async loggerMiddleware (F:\framework\nexgen\template\src\framework\http\logger.ts:28:3)
|
|
284
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
285
|
+
{
|
|
286
|
+
"requestId": "3cc2f22c-0907-48df-ab1c-561e46df690d",
|
|
287
|
+
"name": "Error",
|
|
288
|
+
"method": "GET",
|
|
289
|
+
"path": "/api/notification",
|
|
290
|
+
"url": "http://localhost:3000/api/notification?perPage=5",
|
|
291
|
+
"ip": null,
|
|
292
|
+
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:150.0) Gecko/20100101 Firefox/150.0"
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
[10:36:48] error -> ReferenceError: sendNotification is not defined
|
|
296
|
+
at <anonymous> (F:\framework\nexgen\template\src\modules\realtime-test\routes\api.ts:80:31)
|
|
297
|
+
at ModuleJob.run (node:internal/modules/esm/module_job:413:25)
|
|
298
|
+
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:660:26)
|
|
299
|
+
at async importFile (F:\framework\nexgen\template\src\framework\modules\discover.ts:53:10)
|
|
300
|
+
at async registerModuleRoutes (F:\framework\nexgen\template\src\framework\modules\routes.ts:18:19)
|
|
301
|
+
at async createKernel (F:\framework\nexgen\template\src\framework\kernel.ts:25:3)
|
|
302
|
+
at async <anonymous> (F:\framework\nexgen\template\src\framework\server.ts:38:28)
|
|
303
|
+
{
|
|
304
|
+
"error": {},
|
|
305
|
+
"exception": true,
|
|
306
|
+
"date": "Tue May 19 2026 10:36:48 GMT+0600 (Bangladesh Standard Time)",
|
|
307
|
+
"process": {
|
|
308
|
+
"pid": 22448,
|
|
309
|
+
"uid": null,
|
|
310
|
+
"gid": null,
|
|
311
|
+
"cwd": "F:\\framework\\nexgen\\template",
|
|
312
|
+
"execPath": "F:\\LARAGON\\bin\\nodejs\\node-v24\\node.exe",
|
|
313
|
+
"version": "v24.12.0",
|
|
314
|
+
"argv": "[F:\\LARAGON\\bin\\nodejs\\node-v24\\node.exe F:\\framework\\nexgen\\template\\src\\framework\\server.ts]",
|
|
315
|
+
"memoryUsage": "rss=233709568 heapTotal=189911040 heapUsed=84293968 external=8858221 arrayBuffers=4116533"
|
|
316
|
+
},
|
|
317
|
+
"os": {
|
|
318
|
+
"loadavg": "[0,0,0]",
|
|
319
|
+
"uptime": 6387.39
|
|
320
|
+
},
|
|
321
|
+
"trace": [
|
|
322
|
+
{
|
|
323
|
+
"column": 31,
|
|
324
|
+
"file": "F:\\framework\\nexgen\\template\\src\\modules\\realtime-test\\routes\\api.ts",
|
|
325
|
+
"function": "<anonymous>",
|
|
326
|
+
"line": 80,
|
|
327
|
+
"method": null,
|
|
328
|
+
"native": false
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"column": 25,
|
|
332
|
+
"file": "node:internal/modules/esm/module_job",
|
|
333
|
+
"function": "ModuleJob.run",
|
|
334
|
+
"line": 413,
|
|
335
|
+
"method": "run",
|
|
336
|
+
"native": false
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"column": 26,
|
|
340
|
+
"file": "node:internal/modules/esm/loader",
|
|
341
|
+
"function": "async onImport.tracePromise.__proto__",
|
|
342
|
+
"line": 660,
|
|
343
|
+
"method": "__proto__",
|
|
344
|
+
"native": false
|
|
345
|
+
},
|
|
346
|
+
"... 4 more frame(s)"
|
|
347
|
+
]
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
[10:37:28] error -> TypeError: Cannot read properties of undefined (reading 'id')
|
|
351
|
+
at list (F:\framework\nexgen\template\src\modules\notification\controllers\notification.controller.ts:7:30)
|
|
352
|
+
at dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:23)
|
|
353
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:46
|
|
354
|
+
at file:///F:/framework/nexgen/template/node_modules/stoker/dist/esm/middlewares/serve-emoji-favicon.js:7:12
|
|
355
|
+
at dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:23)
|
|
356
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:46
|
|
357
|
+
at file:///F:/framework/nexgen/template/node_modules/hono-rate-limiter/dist/index.js:295:13
|
|
358
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
359
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
360
|
+
at async loggerMiddleware (F:\framework\nexgen\template\src\framework\http\logger.ts:28:3)
|
|
361
|
+
{
|
|
362
|
+
"requestId": "38818936-7f2e-4ccb-9ed0-a45d2863f433",
|
|
363
|
+
"name": "TypeError",
|
|
364
|
+
"method": "GET",
|
|
365
|
+
"path": "/api/notification",
|
|
366
|
+
"url": "http://localhost:3000/api/notification?perPage=5",
|
|
367
|
+
"ip": null,
|
|
368
|
+
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:150.0) Gecko/20100101 Firefox/150.0"
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
[10:37:33] error -> TypeError: Cannot read properties of undefined (reading 'id')
|
|
372
|
+
at list (F:\framework\nexgen\template\src\modules\notification\controllers\notification.controller.ts:7:30)
|
|
373
|
+
at dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:23)
|
|
374
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:46
|
|
375
|
+
at file:///F:/framework/nexgen/template/node_modules/stoker/dist/esm/middlewares/serve-emoji-favicon.js:7:12
|
|
376
|
+
at dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:23)
|
|
377
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:46
|
|
378
|
+
at file:///F:/framework/nexgen/template/node_modules/hono-rate-limiter/dist/index.js:295:13
|
|
379
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
380
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
381
|
+
at async loggerMiddleware (F:\framework\nexgen\template\src\framework\http\logger.ts:28:3)
|
|
382
|
+
{
|
|
383
|
+
"requestId": "2435f1e7-1546-476a-af85-9d8fd2fbc487",
|
|
384
|
+
"name": "TypeError",
|
|
385
|
+
"method": "GET",
|
|
386
|
+
"path": "/api/notification",
|
|
387
|
+
"url": "http://localhost:3000/api/notification?perPage=5",
|
|
388
|
+
"ip": null,
|
|
389
|
+
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36"
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
[10:38:41] error -> TypeError: Cannot read properties of undefined (reading 'id')
|
|
393
|
+
at sendNotification (F:\framework\nexgen\template\src\modules\realtime-test\controllers\realtime-test.controller.ts:99:21)
|
|
394
|
+
at dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:23)
|
|
395
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:46
|
|
396
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/validator/validator.js:81:18
|
|
397
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
398
|
+
at async mw (F:\framework\nexgen\template\node_modules\@hono\zod-openapi\src\index.ts:632:26)
|
|
399
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
400
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
401
|
+
at async file:///F:/framework/nexgen/template/node_modules/hono-rate-limiter/dist/index.js:295:7
|
|
402
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
403
|
+
{
|
|
404
|
+
"requestId": "52e7a180-9595-42fc-9770-a5f9ee2068b3",
|
|
405
|
+
"name": "TypeError",
|
|
406
|
+
"method": "POST",
|
|
407
|
+
"path": "/api/realtime-test/notify",
|
|
408
|
+
"url": "http://localhost:3000/api/realtime-test/notify",
|
|
409
|
+
"ip": null,
|
|
410
|
+
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:150.0) Gecko/20100101 Firefox/150.0"
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
[10:38:49] error -> TypeError: Cannot read properties of undefined (reading 'id')
|
|
414
|
+
at list (F:\framework\nexgen\template\src\modules\notification\controllers\notification.controller.ts:7:30)
|
|
415
|
+
at dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:23)
|
|
416
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:46
|
|
417
|
+
at file:///F:/framework/nexgen/template/node_modules/stoker/dist/esm/middlewares/serve-emoji-favicon.js:7:12
|
|
418
|
+
at dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:23)
|
|
419
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:46
|
|
420
|
+
at file:///F:/framework/nexgen/template/node_modules/hono-rate-limiter/dist/index.js:295:13
|
|
421
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
422
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
423
|
+
at async loggerMiddleware (F:\framework\nexgen\template\src\framework\http\logger.ts:28:3)
|
|
424
|
+
{
|
|
425
|
+
"requestId": "6bae467e-7f01-451e-a3aa-226e761574e0",
|
|
426
|
+
"name": "TypeError",
|
|
427
|
+
"method": "GET",
|
|
428
|
+
"path": "/api/notification",
|
|
429
|
+
"url": "http://localhost:3000/api/notification?page=1&perPage=20",
|
|
430
|
+
"ip": null,
|
|
431
|
+
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36"
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
[10:38:53] error -> TypeError: Cannot read properties of undefined (reading 'id')
|
|
435
|
+
at sendNotification (F:\framework\nexgen\template\src\modules\realtime-test\controllers\realtime-test.controller.ts:99:21)
|
|
436
|
+
at dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:23)
|
|
437
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:46
|
|
438
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/validator/validator.js:81:18
|
|
439
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
440
|
+
at async mw (F:\framework\nexgen\template\node_modules\@hono\zod-openapi\src\index.ts:632:26)
|
|
441
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
442
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
443
|
+
at async file:///F:/framework/nexgen/template/node_modules/hono-rate-limiter/dist/index.js:295:7
|
|
444
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
445
|
+
{
|
|
446
|
+
"requestId": "d3692978-48f5-42ad-9db9-84932283095f",
|
|
447
|
+
"name": "TypeError",
|
|
448
|
+
"method": "POST",
|
|
449
|
+
"path": "/api/realtime-test/notify",
|
|
450
|
+
"url": "http://localhost:3000/api/realtime-test/notify",
|
|
451
|
+
"ip": null,
|
|
452
|
+
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36"
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
[10:39:57] error -> TypeError: Cannot read properties of undefined (reading 'id')
|
|
456
|
+
at list (F:\framework\nexgen\template\src\modules\notification\controllers\notification.controller.ts:7:30)
|
|
457
|
+
at dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:23)
|
|
458
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:46
|
|
459
|
+
at file:///F:/framework/nexgen/template/node_modules/stoker/dist/esm/middlewares/serve-emoji-favicon.js:7:12
|
|
460
|
+
at dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:23)
|
|
461
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:46
|
|
462
|
+
at file:///F:/framework/nexgen/template/node_modules/hono-rate-limiter/dist/index.js:295:13
|
|
463
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
464
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
465
|
+
at async loggerMiddleware (F:\framework\nexgen\template\src\framework\http\logger.ts:28:3)
|
|
466
|
+
{
|
|
467
|
+
"requestId": "86709bb7-ab1f-473a-92e6-a8edafe7dd22",
|
|
468
|
+
"name": "TypeError",
|
|
469
|
+
"method": "GET",
|
|
470
|
+
"path": "/api/notification",
|
|
471
|
+
"url": "http://localhost:3000/api/notification?perPage=5",
|
|
472
|
+
"ip": null,
|
|
473
|
+
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:150.0) Gecko/20100101 Firefox/150.0"
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
[10:40:08] error -> TypeError: Cannot read properties of undefined (reading 'id')
|
|
477
|
+
at sendNotification (F:\framework\nexgen\template\src\modules\realtime-test\controllers\realtime-test.controller.ts:99:21)
|
|
478
|
+
at dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:23)
|
|
479
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:46
|
|
480
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/validator/validator.js:81:18
|
|
481
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
482
|
+
at async mw (F:\framework\nexgen\template\node_modules\@hono\zod-openapi\src\index.ts:632:26)
|
|
483
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
484
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
485
|
+
at async file:///F:/framework/nexgen/template/node_modules/hono-rate-limiter/dist/index.js:295:7
|
|
486
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
487
|
+
{
|
|
488
|
+
"requestId": "a2d6fe88-faac-42d3-a7ea-559ba1cc2669",
|
|
489
|
+
"name": "TypeError",
|
|
490
|
+
"method": "POST",
|
|
491
|
+
"path": "/api/realtime-test/notify",
|
|
492
|
+
"url": "http://localhost:3000/api/realtime-test/notify",
|
|
493
|
+
"ip": null,
|
|
494
|
+
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:150.0) Gecko/20100101 Firefox/150.0"
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
[10:40:14] error -> TypeError: Cannot read properties of undefined (reading 'id')
|
|
498
|
+
at list (F:\framework\nexgen\template\src\modules\notification\controllers\notification.controller.ts:7:30)
|
|
499
|
+
at dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:23)
|
|
500
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:46
|
|
501
|
+
at file:///F:/framework/nexgen/template/node_modules/stoker/dist/esm/middlewares/serve-emoji-favicon.js:7:12
|
|
502
|
+
at dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:23)
|
|
503
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:46
|
|
504
|
+
at file:///F:/framework/nexgen/template/node_modules/hono-rate-limiter/dist/index.js:295:13
|
|
505
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
506
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
507
|
+
at async loggerMiddleware (F:\framework\nexgen\template\src\framework\http\logger.ts:28:3)
|
|
508
|
+
{
|
|
509
|
+
"requestId": "355a4fa6-6417-4d4e-8dc9-d77e367c9417",
|
|
510
|
+
"name": "TypeError",
|
|
511
|
+
"method": "GET",
|
|
512
|
+
"path": "/api/notification",
|
|
513
|
+
"url": "http://localhost:3000/api/notification?perPage=5",
|
|
514
|
+
"ip": null,
|
|
515
|
+
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36"
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
[10:40:16] error -> TypeError: Cannot read properties of undefined (reading 'id')
|
|
519
|
+
at sendNotification (F:\framework\nexgen\template\src\modules\realtime-test\controllers\realtime-test.controller.ts:99:21)
|
|
520
|
+
at dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:23)
|
|
521
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:46
|
|
522
|
+
at file:///F:/framework/nexgen/template/node_modules/hono/dist/validator/validator.js:81:18
|
|
523
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
524
|
+
at async mw (F:\framework\nexgen\template\node_modules\@hono\zod-openapi\src\index.ts:632:26)
|
|
525
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
526
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
527
|
+
at async file:///F:/framework/nexgen/template/node_modules/hono-rate-limiter/dist/index.js:295:7
|
|
528
|
+
at async dispatch (file:///F:/framework/nexgen/template/node_modules/hono/dist/compose.js:22:17)
|
|
529
|
+
{
|
|
530
|
+
"requestId": "254d7c6d-66a0-4e7e-9b47-5995af50d887",
|
|
531
|
+
"name": "TypeError",
|
|
532
|
+
"method": "POST",
|
|
533
|
+
"path": "/api/realtime-test/notify",
|
|
534
|
+
"url": "http://localhost:3000/api/realtime-test/notify",
|
|
535
|
+
"ip": null,
|
|
536
|
+
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36"
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
[11:05:53] error -> F:\framework\nexgen\template\src\modules\realtime-test\routes\api.ts:10
|
|
540
|
+
sendNotification,
|
|
541
|
+
^
|
|
542
|
+
SyntaxError: The requested module '../controllers/realtime-test.controller.js' does not provide an export named 'sendNotification'
|
|
543
|
+
at #asyncInstantiate (node:internal/modules/esm/module_job:302:21)
|
|
544
|
+
at async ModuleJob.run (node:internal/modules/esm/module_job:405:5)
|
|
545
|
+
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:660:26)
|
|
546
|
+
at async importFile (F:\framework\nexgen\template\src\framework\modules\discover.ts:53:10)
|
|
547
|
+
at async registerModuleRoutes (F:\framework\nexgen\template\src\framework\modules\routes.ts:18:19)
|
|
548
|
+
at async createKernel (F:\framework\nexgen\template\src\framework\kernel.ts:25:3)
|
|
549
|
+
at async <anonymous> (F:\framework\nexgen\template\src\framework\server.ts:38:28)
|
|
550
|
+
{
|
|
551
|
+
"error": {},
|
|
552
|
+
"exception": true,
|
|
553
|
+
"date": "Tue May 19 2026 11:05:53 GMT+0600 (Bangladesh Standard Time)",
|
|
554
|
+
"process": {
|
|
555
|
+
"pid": 3252,
|
|
556
|
+
"uid": null,
|
|
557
|
+
"gid": null,
|
|
558
|
+
"cwd": "F:\\framework\\nexgen\\template",
|
|
559
|
+
"execPath": "F:\\LARAGON\\bin\\nodejs\\node-v24\\node.exe",
|
|
560
|
+
"version": "v24.12.0",
|
|
561
|
+
"argv": "[F:\\LARAGON\\bin\\nodejs\\node-v24\\node.exe F:\\framework\\nexgen\\template\\src\\framework\\server.ts]",
|
|
562
|
+
"memoryUsage": "rss=239124480 heapTotal=190173184 heapUsed=84630144 external=8868550 arrayBuffers=4126862"
|
|
563
|
+
},
|
|
564
|
+
"os": {
|
|
565
|
+
"loadavg": "[0,0,0]",
|
|
566
|
+
"uptime": 8132.781
|
|
567
|
+
},
|
|
568
|
+
"trace": [
|
|
569
|
+
{
|
|
570
|
+
"column": 21,
|
|
571
|
+
"file": "node:internal/modules/esm/module_job",
|
|
572
|
+
"function": "#asyncInstantiate",
|
|
573
|
+
"line": 302,
|
|
574
|
+
"method": null,
|
|
575
|
+
"native": false
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"column": 5,
|
|
579
|
+
"file": "node:internal/modules/esm/module_job",
|
|
580
|
+
"function": "async ModuleJob.run",
|
|
581
|
+
"line": 405,
|
|
582
|
+
"method": "run",
|
|
583
|
+
"native": false
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"column": 26,
|
|
587
|
+
"file": "node:internal/modules/esm/loader",
|
|
588
|
+
"function": "async onImport.tracePromise.__proto__",
|
|
589
|
+
"line": 660,
|
|
590
|
+
"method": "__proto__",
|
|
591
|
+
"native": false
|
|
592
|
+
},
|
|
593
|
+
"... 4 more frame(s)"
|
|
594
|
+
]
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
[11:30:12] error -> F:\framework\nexgen\template\src\modules\realtime-test\routes\api.ts:11
|
|
598
|
+
notifyAllChannels,
|
|
599
|
+
^
|
|
600
|
+
SyntaxError: The requested module '../controllers/realtime-test.controller.js' does not provide an export named 'notifyAllChannels'
|
|
601
|
+
at #asyncInstantiate (node:internal/modules/esm/module_job:302:21)
|
|
602
|
+
at async ModuleJob.run (node:internal/modules/esm/module_job:405:5)
|
|
603
|
+
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:660:26)
|
|
604
|
+
at async importFile (F:\framework\nexgen\template\src\framework\modules\discover.ts:53:10)
|
|
605
|
+
at async registerModuleRoutes (F:\framework\nexgen\template\src\framework\modules\routes.ts:18:19)
|
|
606
|
+
at async createKernel (F:\framework\nexgen\template\src\framework\kernel.ts:25:3)
|
|
607
|
+
at async <anonymous> (F:\framework\nexgen\template\src\framework\server.ts:38:28)
|
|
608
|
+
{
|
|
609
|
+
"error": {},
|
|
610
|
+
"exception": true,
|
|
611
|
+
"date": "Tue May 19 2026 11:30:12 GMT+0600 (Bangladesh Standard Time)",
|
|
612
|
+
"process": {
|
|
613
|
+
"pid": 18464,
|
|
614
|
+
"uid": null,
|
|
615
|
+
"gid": null,
|
|
616
|
+
"cwd": "F:\\framework\\nexgen\\template",
|
|
617
|
+
"execPath": "F:\\LARAGON\\bin\\nodejs\\node-v24\\node.exe",
|
|
618
|
+
"version": "v24.12.0",
|
|
619
|
+
"argv": "[F:\\LARAGON\\bin\\nodejs\\node-v24\\node.exe F:\\framework\\nexgen\\template\\src\\framework\\server.ts]",
|
|
620
|
+
"memoryUsage": "rss=235044864 heapTotal=189911040 heapUsed=84645096 external=8868209 arrayBuffers=4126521"
|
|
621
|
+
},
|
|
622
|
+
"os": {
|
|
623
|
+
"loadavg": "[0,0,0]",
|
|
624
|
+
"uptime": 9591.359
|
|
625
|
+
},
|
|
626
|
+
"trace": [
|
|
627
|
+
{
|
|
628
|
+
"column": 21,
|
|
629
|
+
"file": "node:internal/modules/esm/module_job",
|
|
630
|
+
"function": "#asyncInstantiate",
|
|
631
|
+
"line": 302,
|
|
632
|
+
"method": null,
|
|
633
|
+
"native": false
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"column": 5,
|
|
637
|
+
"file": "node:internal/modules/esm/module_job",
|
|
638
|
+
"function": "async ModuleJob.run",
|
|
639
|
+
"line": 405,
|
|
640
|
+
"method": "run",
|
|
641
|
+
"native": false
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"column": 26,
|
|
645
|
+
"file": "node:internal/modules/esm/loader",
|
|
646
|
+
"function": "async onImport.tracePromise.__proto__",
|
|
647
|
+
"line": 660,
|
|
648
|
+
"method": "__proto__",
|
|
649
|
+
"native": false
|
|
650
|
+
},
|
|
651
|
+
"... 4 more frame(s)"
|
|
652
|
+
]
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
[15:47:44] error -> TypeError: Cannot set properties of undefined (setting 'enabled')
|
|
656
|
+
at <anonymous> (F:\framework\nexgen\template\src\framework\server.ts:96:13)
|
|
657
|
+
{
|
|
658
|
+
"error": {},
|
|
659
|
+
"exception": true,
|
|
660
|
+
"date": "Tue May 19 2026 15:47:44 GMT+0600 (Bangladesh Standard Time)",
|
|
661
|
+
"process": {
|
|
662
|
+
"pid": 13488,
|
|
663
|
+
"uid": null,
|
|
664
|
+
"gid": null,
|
|
665
|
+
"cwd": "F:\\framework\\nexgen\\template",
|
|
666
|
+
"execPath": "F:\\LARAGON\\bin\\nodejs\\node-v24\\node.exe",
|
|
667
|
+
"version": "v24.12.0",
|
|
668
|
+
"argv": "[F:\\LARAGON\\bin\\nodejs\\node-v24\\node.exe F:\\framework\\nexgen\\template\\src\\framework\\server.ts]",
|
|
669
|
+
"memoryUsage": "rss=222715904 heapTotal=190173184 heapUsed=86657880 external=8862906 arrayBuffers=4102079"
|
|
670
|
+
},
|
|
671
|
+
"os": {
|
|
672
|
+
"loadavg": "[0,0,0]",
|
|
673
|
+
"uptime": 8910.468
|
|
674
|
+
},
|
|
675
|
+
"trace": [
|
|
676
|
+
{
|
|
677
|
+
"column": 13,
|
|
678
|
+
"file": "F:\\framework\\nexgen\\template\\src\\framework\\server.ts",
|
|
679
|
+
"function": "<anonymous>",
|
|
680
|
+
"line": 96,
|
|
681
|
+
"method": null,
|
|
682
|
+
"native": false
|
|
683
|
+
}
|
|
684
|
+
]
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
[16:54:11] error -> TypeError: Cannot set properties of undefined (setting 'enabled')
|
|
688
|
+
at <anonymous> (F:\framework\nexgen\template\src\framework\server.ts:96:13)
|
|
689
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
|
|
690
|
+
{
|
|
691
|
+
"error": {},
|
|
692
|
+
"exception": true,
|
|
693
|
+
"date": "Tue May 19 2026 16:54:11 GMT+0600 (Bangladesh Standard Time)",
|
|
694
|
+
"process": {
|
|
695
|
+
"pid": 9156,
|
|
696
|
+
"uid": null,
|
|
697
|
+
"gid": null,
|
|
698
|
+
"cwd": "F:\\framework\\nexgen\\template",
|
|
699
|
+
"execPath": "F:\\LARAGON\\bin\\nodejs\\node-v24\\node.exe",
|
|
700
|
+
"version": "v24.12.0",
|
|
701
|
+
"argv": "[F:\\LARAGON\\bin\\nodejs\\node-v24\\node.exe F:\\framework\\nexgen\\template\\src\\framework\\server.ts]",
|
|
702
|
+
"memoryUsage": "rss=223289344 heapTotal=190697472 heapUsed=88139344 external=8884937 arrayBuffers=4122062"
|
|
703
|
+
},
|
|
704
|
+
"os": {
|
|
705
|
+
"loadavg": "[0,0,0]",
|
|
706
|
+
"uptime": 12897.578
|
|
707
|
+
},
|
|
708
|
+
"trace": [
|
|
709
|
+
{
|
|
710
|
+
"column": 13,
|
|
711
|
+
"file": "F:\\framework\\nexgen\\template\\src\\framework\\server.ts",
|
|
712
|
+
"function": "<anonymous>",
|
|
713
|
+
"line": 96,
|
|
714
|
+
"method": null,
|
|
715
|
+
"native": false
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"column": 5,
|
|
719
|
+
"file": "node:internal/process/task_queues",
|
|
720
|
+
"function": "process.processTicksAndRejections",
|
|
721
|
+
"line": 103,
|
|
722
|
+
"method": "processTicksAndRejections",
|
|
723
|
+
"native": false
|
|
724
|
+
}
|
|
725
|
+
]
|
|
726
|
+
}
|
|
727
|
+
|