-
-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
Describe the problem/bug
Thunderhub won't start
Your environment
- Version of ThunderHub: 0.13.31
- Deployment method:
- Other relevant environment details:
To Reproduce
Steps to reproduce the behavior:
- git clone https://github.com/apotdevin/thunderhub.git
- cd thunderhub
- npm install
- npm run build
- npm run
Expected behavior
Thunderhub shall start
Actual behavior
Error is printed and Thunderhub exits
Screenshots/Links
th@th:~$ git clone https://github.com/apotdevin/thunderhub.git
Cloning into 'thunderhub'...
remote: Enumerating objects: 18054, done.
remote: Counting objects: 100% (700/700), done.
remote: Compressing objects: 100% (213/213), done.
remote: Total 18054 (delta 606), reused 488 (delta 487), pack-reused 17354 (from 3)
Receiving objects: 100% (18054/18054), 30.67 MiB | 13.32 MiB/s, done.
Resolving deltas: 100% (11205/11205), done.
th@th:~$ git checkout tags/v0.13.31
th@th:~/thunderhub$ npm install
npm warn deprecated @types/cron@2.4.0: This is a stub types definition. cron provides its own type definitions, so you do not need this installed.
npm warn deprecated stringify-package@1.0.1: This module is not used anymore, and has been replaced by @npmcli/package-json
npm warn deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm warn deprecated apollo-datasource@3.3.2: The `apollo-datasource` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm warn deprecated apollo-server-plugin-base@3.7.2: The `apollo-server-plugin-base` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm warn deprecated apollo-server-types@3.8.0: The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm warn deprecated apollo-server-errors@3.3.1: The `apollo-server-errors` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm warn deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
npm warn deprecated @apollo/server-plugin-landing-page-graphql-playground@4.0.0: The use of GraphQL Playground in Apollo Server was supported in previous versions, but this is no longer the case as of December 31, 2022. This package exists for v4 migration purposes only. We do not intend to resolve security issues or other bugs with this package if they arise, so please migrate away from this to [Apollo Server's default Explorer](https://www.apollographql.com/docs/apollo-server/api/plugin/landing-pages) as soon as possible.
npm warn deprecated apollo-server-env@4.2.1: The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm warn deprecated apollo-reporting-protobuf@3.4.0: The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm warn deprecated subscriptions-transport-ws@0.11.0: The `subscriptions-transport-ws` package is no longer maintained. We recommend you use `graphql-ws` instead. For help migrating Apollo software to `graphql-ws`, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws For general help using `graphql-ws`, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md
> thunderhub@0.13.31 prepare
> husky install
husky - Git hooks installed
added 1949 packages, and audited 1950 packages in 5m
251 packages are looking for funding
run `npm fund` for details
46 vulnerabilities (6 low, 13 moderate, 25 high, 2 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
th@th:~/thunderhub$ npm run build
> thunderhub@0.13.31 prebuild
> rimraf dist && rimraf .next
> thunderhub@0.13.31 build
> npm run build:nest && npm run build:next
> thunderhub@0.13.31 build:nest
> nest build
> thunderhub@0.13.31 build:next
> cd src/client && next build
./src/components/chart/BarChart.tsx
61:6 Warning: React Hook useMemo has a missing dependency: 'dataKey'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
./src/components/chart/HorizontalBarChart.tsx
139:6 Warning: React Hook useMemo has a missing dependency: 'maxValue'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
./src/components/table/DebouncedInput.tsx
30:6 Warning: React Hook useEffect has missing dependencies: 'debounce' and 'onChange'. Either include them or remove the dependency array. If 'onChange' changes too often, find the parent component that defines it and wrap that definition in useCallback. react-hooks/exhaustive-deps
info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
✓ Linting and checking validity of types
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
✓ Creating an optimized production build
✓ Compiled successfully
✓ Collecting page data
✓ Collecting build traces
✓ Finalizing page optimization
Route (pages) Size First Load JS
┌ λ / 23.9 kB 557 kB
├ /_app 0 B 243 kB
├ λ /404 344 B 243 kB
├ λ /amboss 3.92 kB 250 kB
├ λ /chain 5.69 kB 265 kB
├ λ /channels 6.61 kB 310 kB
├ λ /channels/[slug] 4.44 kB 250 kB
├ λ /chat 6.63 kB 255 kB
├ λ /dashboard 586 B 247 kB
├ λ /forwards 23.5 kB 545 kB
├ λ /leaderboard 3.62 kB 281 kB
├ λ /lnmarkets 5.2 kB 248 kB
├ λ /login 5.54 kB 249 kB
├ λ /peers 6.29 kB 265 kB
├ λ /rebalance 9.28 kB 287 kB
├ λ /settings 8.66 kB 257 kB
├ λ /settings/dashboard 458 B 247 kB
├ λ /sso 2.78 kB 246 kB
├ λ /stats 7.02 kB 253 kB
├ λ /swap 11.2 kB 289 kB
├ λ /tools 7.38 kB 250 kB
└ λ /transactions 5.08 kB 523 kB
+ First Load JS shared by all 247 kB
├ chunks/framework-80ea8c0f440c6a32.js 45.4 kB
├ chunks/main-5aa2e2aecccdc7ca.js 33 kB
├ chunks/pages/_app-d39bed6ec28d27ed.js 162 kB
├ chunks/webpack-48250e071ff7a0c5.js 2.17 kB
└ css/8ffc6fcd155f3877.css 4.25 kB
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
th@th:~/thunderhub$ npm start
> thunderhub@0.13.31 start
> cross-env NODE_ENV=production nest start
/home/th/thunderhub/node_modules/@nestjs/schedule/dist/decorators/interval.decorator.js:12
const [name, intervalTimeout] = (0, util_1.isString)(nameOrTimeout)
^
TypeError: (0 , util_1.isString) is not a function
at Interval (/home/th/thunderhub/node_modules/@nestjs/schedule/dist/decorators/interval.decorator.js:12:57)
at Object.<anonymous> (/home/th/thunderhub/src/server/modules/api/amboss/amboss.service.ts:186:12)
at Module._compile (node:internal/modules/cjs/loader:1734:14)
at Object..js (node:internal/modules/cjs/loader:1899:10)
at Module.load (node:internal/modules/cjs/loader:1469:32)
at Function._load (node:internal/modules/cjs/loader:1286:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.call (node:internal/modules/cjs/loader:1491:12)
at Module.mod.require (/home/th/thunderhub/node_modules/next/src/server/require-hook.ts:69:26)
th@th:~/thunderhub$ ls
CHANGELOG.md LICENSE codegen.yml flake.lock nest-cli.json package-lock.json schema.gql src tsconfig.json
Dockerfile README.md dist flake.nix node_modules package.json scripts tsconfig.build.jsonAdditional context
th@th:~/thunderhub$ nodejs -v
v23.11.1
th@th:~/thunderhub$ npm -v
10.9.2Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels