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

Issue:yarn start not working #201

Open
Walli2003 opened this issue Jun 4, 2024 · 3 comments
Open

Issue:yarn start not working #201

Walli2003 opened this issue Jun 4, 2024 · 3 comments
Labels
question Further information is requested

Comments

@Walli2003
Copy link

I am trying to start the development environment using the command "yarn start" but it gives me this error

C:\Projects\SuperConductor-0.11.3_broken>yarn start
yarn run v1.22.22
$ yarn && yarn build:shared && yarn dev:electron
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Lockfile has incorrect entry for "node-hid@^3.1.0". Ignoring it.
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning " > [email protected]" has unmet peer dependency "react@^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18".
warning " > [email protected]" has unmet peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18".
warning " > @sofie-automation/[email protected]" has incorrect peer dependency "typescript@~4.9".
warning " > [email protected]" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8".
warning " > [email protected]" has unmet peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0".
warning "workspace-aggregator-d7d5d6da-a12e-4f94-869a-77f608be0281 > superconductor > [email protected]" has unmet peer dependency "tiny-warning@>=1.0.3".
warning "workspace-aggregator-d7d5d6da-a12e-4f94-869a-77f608be0281 > superconductor > [email protected]" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0-0".
warning "workspace-aggregator-d7d5d6da-a12e-4f94-869a-77f608be0281 > superconductor > [email protected]" has unmet peer dependency "prop-types@>= 15.3.0 < 19".
[5/5] Building fresh packages...
success Saved lockfile.
$ husky install
husky - Git hooks installed
$ lerna run build --stream --scope=@shared/*
lerna notice cli v6.6.2
lerna notice filter including "@shared/"
lerna info filter [ '@shared/
' ]

Lerna (powered by Nx) Running target build for 6 projects:

- @shared/api
- @shared/lib
- @shared/models
- @shared/peripherals
- @shared/server-lib
- @shared/tsr-bridge

——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

@shared/models:build

@shared/models: $ rimraf dist && yarn build:main
@shared/models: $ tsc -p tsconfig.json

@shared/api:build

@shared/api: $ rimraf dist && yarn build:main
@shared/api: $ tsc -p tsconfig.json

@shared/lib:build

@shared/server-lib:build

@shared/lib: $ rimraf dist && yarn build:main
@shared/server-lib: $ rimraf dist && yarn build:main
@shared/lib: $ tsc -p tsconfig.json
@shared/server-lib: $ tsc -p tsconfig.json

@shared/peripherals:build

@shared/peripherals: $ rimraf dist && yarn build:main
@shared/peripherals: $ tsc -p tsconfig.json

@shared/tsr-bridge:build

@shared/tsr-bridge: $ rimraf dist && yarn build:main
@shared/tsr-bridge: $ tsc -p tsconfig.json

——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

Lerna (powered by Nx) Successfully ran target build for 6 projects

$ lerna run dev --stream --scope=superconductor
lerna notice cli v6.6.2
lerna notice filter including "superconductor"
lerna info filter [ 'superconductor' ]

superconductor:dev

superconductor: $ concurrently --kill-others "yarn react:dev" "yarn electron:dev"
superconductor: $ nodemon
$ webpack serve --mode=development
superconductor: [1] [nodemon] 2.0.22
superconductor: [1] [nodemon] to restart at any time, enter rs
superconductor: [1] [nodemon] watching path(s): src***
superconductor: [1] [nodemon] watching extensions: ts
superconductor: [1] [nodemon] starting tsc -p tsconfig.electron.json && electron ./dist/main.js
superconductor: [0] [webpack-dev-server] Project is running at:
superconductor: [0] [webpack-dev-server] Loopback: http://localhost:9124/
superconductor: [0] [webpack-dev-server] On Your Network (IPv4): http://10.200.1.222:9124/
superconductor: [0] [webpack-dev-server] Content not from webpack is served from 'C:\Projects\SuperConductor-0.11.3_broken\apps\app\dist\renderer.js' directory
superconductor: [1] src/electron/bridgeHandler.ts(109,54): error TS2769: No overload matches this call.
superconductor: [1] Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
superconductor: [1] Argument of type 'Timer' is not assignable to parameter of type 'string | number | Timeout | undefined'.
superconductor: [1] Property '[Symbol.dispose]' is missing in type 'Timer' but required in type 'Timeout'.
superconductor: [1] Overload 2 of 2, '(id: number | undefined): void', gave the following error.
superconductor: [1] Argument of type 'Timer' is not assignable to parameter of type 'number'.
superconductor: [1] src/electron/SuperConductor.ts(307,18): error TS2769: No overload matches this call.
superconductor: [1] Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
superconductor: [1] Argument of type 'Timer' is not assignable to parameter of type 'string | number | Timeout | undefined'.
superconductor: [1] Overload 2 of 2, '(id: number | undefined): void', gave the following error.
superconductor: [1] Argument of type 'Timer' is not assignable to parameter of type 'number'.
superconductor: [1] src/electron/SuperConductor.ts(316,21): error TS2769: No overload matches this call.
superconductor: [1] Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
superconductor: [1] Argument of type 'Timer' is not assignable to parameter of type 'string | number | Timeout | undefined'.
superconductor: [1] Overload 2 of 2, '(id: number | undefined): void', gave the following error.
superconductor: [1] Argument of type 'Timer' is not assignable to parameter of type 'number'.
superconductor: [1] [nodemon] app crashed - waiting for file changes before starting...
superconductor: [0] assets by path react/ 189 KiB 356 assets
superconductor: [0] assets by path lib/ 54 KiB 54 assets
superconductor: [0] assets by info 648 KiB [immutable] 40 assets
superconductor: [0] assets by path electron/ 70.7 KiB 30 assets
superconductor: [0] assets by path models/ 24.4 KiB 24 assets
superconductor: [0] assets by path ipc/ 22.5 KiB 2 assets
superconductor: [0] assets by path .map 291 bytes
superconductor: [0] asset renderer.d.ts.map 189 bytes [emitted]
superconductor: [0] asset main.d.ts.map 102 bytes [emitted]
superconductor: [0] assets by path .ts 157 bytes
superconductor: [0] asset renderer.d.ts 112 bytes [emitted]
superconductor: [0] asset main.d.ts 45 bytes [emitted]
superconductor: [0] asset renderer.js 20 MiB [emitted] (name: main) 1 related asset
superconductor: [0] asset index.html 382 bytes [emitted]
superconductor: [0] orphan modules 438 KiB [orphan] 314 modules
superconductor: [0] runtime modules 27.6 KiB 14 modules
superconductor: [0] modules by path ../../node_modules/ 14.4 MiB (javascript) 633 KiB (asset)
superconductor: [0] javascript modules 14.4 MiB 1511 modules
superconductor: [0] asset modules 1.31 KiB (javascript) 633 KiB (asset) 32 modules
superconductor: [0] json modules 62.9 KiB 9 modules
superconductor: [0] modules by path ./ 1.47 MiB 282 modules
superconductor: [0] modules by path ../../shared/packages/ 27 KiB
superconductor: [0] modules by path ../../shared/packages/models/dist/ 5 KiB 11 modules
superconductor: [0] modules by path ../../shared/packages/lib/dist/
.js 19.4 KiB 7 modules
superconductor: [0] modules by path ../../shared/packages/api/dist/
.js 2.56 KiB
superconductor: [0] ../../shared/packages/api/dist/index.js 931 bytes [built] [code generated]
superconductor: [0] + 3 modules
superconductor: [0] data:image/svg+xml;utf8,<svg xmlns=%27ht.. 359 bytes [built] [code generated]
superconductor: [0] readable-stream (ignored) 15 bytes [built] [code generated]
superconductor: [0]
superconductor: [0] ERROR in C:\Projects\SuperConductor-0.11.3_broken\apps\app\src\electron\SuperConductor.ts
superconductor: [0] 307:17-47
superconductor: [0] [tsl] ERROR in C:\Projects\SuperConductor-0.11.3_broken\apps\app\src\electron\SuperConductor.ts(307,18)
superconductor: [0] TS2769: No overload matches this call.
superconductor: [0] Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
superconductor: [0] Argument of type 'Timer' is not assignable to parameter of type 'string | number | Timeout | undefined'.
superconductor: [0] Property '[Symbol.dispose]' is missing in type 'Timer' but required in type 'Timeout'.
superconductor: [0] Overload 2 of 2, '(id: number | undefined): void', gave the following error.
superconductor: [0] Argument of type 'Timer' is not assignable to parameter of type 'number'.
superconductor: [0]
superconductor: [0] ERROR in C:\Projects\SuperConductor-0.11.3_broken\apps\app\src\electron\SuperConductor.ts
superconductor: [0] 316:20-51
superconductor: [0] [tsl] ERROR in C:\Projects\SuperConductor-0.11.3_broken\apps\app\src\electron\SuperConductor.ts(316,21)
superconductor: [0] TS2769: No overload matches this call.
superconductor: [0] Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
superconductor: [0] Argument of type 'Timer' is not assignable to parameter of type 'string | number | Timeout | undefined'.
superconductor: [0] Overload 2 of 2, '(id: number | undefined): void', gave the following error.
superconductor: [0] Argument of type 'Timer' is not assignable to parameter of type 'number'.
superconductor: [0]
superconductor: [0] ERROR in C:\Projects\SuperConductor-0.11.3_broken\apps\app\src\electron\bridgeHandler.ts
superconductor: [0] 109:53-84
superconductor: [0] [tsl] ERROR in C:\Projects\SuperConductor-0.11.3_broken\apps\app\src\electron\bridgeHandler.ts(109,54)
superconductor: [0] TS2769: No overload matches this call.
superconductor: [0] Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
superconductor: [0] Argument of type 'Timer' is not assignable to parameter of type 'string | number | Timeout | undefined'.
superconductor: [0] Overload 2 of 2, '(id: number | undefined): void', gave the following error.
superconductor: [0] Argument of type 'Timer' is not assignable to parameter of type 'number'.
superconductor: [0]
superconductor: [0] 3 errors have detailed information that is not shown.
superconductor: [0] Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
superconductor: [0]
superconductor: [0] webpack 5.91.0 compiled with 3 errors in 30754 ms
superconductor: [0] assets by status 649 KiB [cached] 41 assets
superconductor: [0] assets by path react/ 188 KiB 350 assets
superconductor: [0] assets by path lib/ 51.2 KiB 42 assets
superconductor: [0] assets by path electron/ 69.6 KiB 28 assets
superconductor: [0] assets by path models/ 22.9 KiB 20 assets
superconductor: [0] assets by path .js 20 MiB 2 assets
superconductor: [0] assets by path ipc/ 22.5 KiB 2 assets
superconductor: [0] assets by path .map 291 bytes 2 assets
superconductor: [0] assets by path .ts 157 bytes
superconductor: [0] asset renderer.d.ts 112 bytes [emitted]
superconductor: [0] asset main.d.ts 45 bytes [emitted]
superconductor: [0] asset main.54ce616729cffbd51d84.hot-update.json 28 bytes [emitted] [immutable] [hmr]
superconductor: [0] Entrypoint main 20 MiB (20.4 MiB) = renderer.js 20 MiB main.54ce616729cffbd51d84.hot-update.js 359 bytes 42 auxiliary assets
superconductor: [0] cached modules 15.1 MiB (javascript) 633 KiB (asset) [cached] 1971 modules
superconductor: [0] runtime modules 27.6 KiB 14 modules
superconductor: [0] javascript modules 1.2 MiB
superconductor: [0] modules by path ./src/react/components/ 796 KiB 142 modules
superconductor: [0] modules by path ./src/lib/ 264 KiB 20 modules
superconductor: [0] modules by path ./src/react/mobx/
.ts 61.1 KiB 11 modules
superconductor: [0] modules by path ./src/react/api/ 59.6 KiB 10 modules
superconductor: [0] modules by path ./src/react/contexts/
.ts 3.68 KiB 5 modules
superconductor: [0] modules by path ./src/react/lib/ 8.34 KiB 5 modules
superconductor: [0] modules by path ./src/models/ 3.76 KiB
superconductor: [0] modules by path ./src/models/rundown/
.ts 2.42 KiB 3 modules
superconductor: [0] + 2 modules
superconductor: [0] ./src/renderer.tsx 6.6 KiB [built]
superconductor: [0] ./src/react/App.tsx 28.7 KiB [built]
superconductor: [0] ./src/react/constants.ts 359 bytes [built]
superconductor: [0]
superconductor: [0] ERROR in C:\Projects\SuperConductor-0.11.3_broken\apps\app\src\electron\bridgeHandler.ts
superconductor: [0] 109:53-84
superconductor: [0] [tsl] ERROR in C:\Projects\SuperConductor-0.11.3_broken\apps\app\src\electron\bridgeHandler.ts(109,54)
superconductor: [0] TS2769: No overload matches this call.
superconductor: [0] Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
superconductor: [0] Argument of type 'Timer' is not assignable to parameter of type 'string | number | Timeout | undefined'.
superconductor: [0] Overload 2 of 2, '(id: number | undefined): void', gave the following error.
superconductor: [0] Argument of type 'Timer' is not assignable to parameter of type 'number'.
superconductor: [0]
superconductor: [0] ERROR in C:\Projects\SuperConductor-0.11.3_broken\apps\app\src\electron\SuperConductor.ts
superconductor: [0] 307:17-47
superconductor: [0] [tsl] ERROR in C:\Projects\SuperConductor-0.11.3_broken\apps\app\src\electron\SuperConductor.ts(307,18)
superconductor: [0] TS2769: No overload matches this call.
superconductor: [0] Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
superconductor: [0] Argument of type 'Timer' is not assignable to parameter of type 'string | number | Timeout | undefined'.
superconductor: [0] Property '[Symbol.dispose]' is missing in type 'Timer' but required in type 'Timeout'.
superconductor: [0] Overload 2 of 2, '(id: number | undefined): void', gave the following error.
superconductor: [0] Argument of type 'Timer' is not assignable to parameter of type 'number'.
superconductor: [0]
superconductor: [0] ERROR in C:\Projects\SuperConductor-0.11.3_broken\apps\app\src\electron\SuperConductor.ts
superconductor: [0] 316:20-51
superconductor: [0] [tsl] ERROR in C:\Projects\SuperConductor-0.11.3_broken\apps\app\src\electron\SuperConductor.ts(316,21)
superconductor: [0] TS2769: No overload matches this call.
superconductor: [0] Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
superconductor: [0] Argument of type 'Timer' is not assignable to parameter of type 'string | number | Timeout | undefined'.
superconductor: [0] Overload 2 of 2, '(id: number | undefined): void', gave the following error.
superconductor: [0] Argument of type 'Timer' is not assignable to parameter of type 'number'.
superconductor: [0]
superconductor: [0] 3 errors have detailed information that is not shown.
superconductor: [0] Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
superconductor: [0]
superconductor: [0] webpack 5.91.0 compiled with 3 errors in 8094 ms

@Walli2003 Walli2003 added the question Further information is requested label Jun 4, 2024
@Walli2003 Walli2003 changed the title Question:yarn start not working Issue:yarn start not working Jun 4, 2024
@nytamin
Copy link
Member

nytamin commented Jun 5, 2024

Try removing your node_modules folders and try again. Also, which branch is this on?

@Walli2003
Copy link
Author

Try removing your node_modules folders and try again. Also, which branch is this on?

it's a TypeScript bug in the SuperConductor.ts and bridgeHandler.ts files. and what exactly do you mean by branch?

@hummelstrand
Copy link
Member

hummelstrand commented Jun 28, 2024

You can see all the SuperConductor branches here: https://github.com/SuperFlyTV/SuperConductor/branches

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

No branches or pull requests

3 participants