saisandeepvaddi / ten-hands

⚡ Simplest way to organize and run command-line tasks
https://tenhands.app/
MIT License
373 stars 29 forks source link

Build issue #274

Closed reddyshyam closed 1 year ago

reddyshyam commented 1 year ago

Hi Sai Sandeep,

Good day! I am trying to build and run from source but am getting two at two stages.

  1. In /cli folder -> yarn install

I see the following error in log file

This file contains the result of Yarn building a package (ten-hands-cli@workspace:.)

Script name: postinstall

node:internal/modules/cjs/loader:1042 throw err; ^

Error: Cannot find module 'C:\ten-hands\cli\build\postinstall.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1039:15) at Module._load (node:internal/modules/cjs/loader:885:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }

Node.js v18.13.0

Also when trying to use yarn start:browser or yarn build:desktop

I see the below error.

../node_modules/socket.io/dist/index.d.ts:1:23 - error TS4090: Conflicting definitions for 'node' found at 'C:/ten-hands/node_modules/socket.io/node_modules/@types/node/index.d.ts' and 'C:/ten-hands/node_modules/@types/node/index.d.ts'. Consider installing a specific version of this library to resolve the conflict. The file is in the program because: Type library referenced via 'node' from file 'C:/ten-hands/node_modules/@sentry/node/dist/handlers.d.ts' with packageId '@types/node/index.d.ts@12.20.15' Type library referenced via 'node' from file 'C:/ten-hands/node_modules/socket.io/dist/index.d.ts' with packageId '@types/node/index.d.ts@15.12.2'

1 ///


  ../node_modules/@sentry/node/dist/handlers.d.ts:1:23
    1 /// <reference types="node" />
File is included via type library reference here.

../node_modules/socket.io/dist/namespace.d.ts:1:23 - error TS4090: Conflicting definitions for 'node' found at 'C:/ten-hands/node_modules/socket.io/node_modules/@types/node/index.d.ts' and 'C:/ten-hands/node_modules/@types/node/index.d.ts'. Consider installing a specific version of this library to resolve the conflict. The file is in the program because: Type library referenced via 'node' from file 'C:/ten-hands/node_modules/@sentry/node/dist/handlers.d.ts' with packageId '@types/node/index.d.ts@12.20.15' Type library referenced via 'node' from file 'C:/ten-hands/node_modules/socket.io/dist/namespace.d.ts' with packageId '@types/node/index.d.ts@15.12.2'

1 ///


  ../node_modules/@sentry/node/dist/handlers.d.ts:1:23
    1 /// <reference types="node" />
File is included via type library reference here.

../node_modules/socket.io/dist/socket.d.ts:1:23 - error TS4090: Conflicting definitions for 'node' found at 'C:/ten-hands/node_modules/socket.io/node_modules/@types/node/index.d.ts' and 'C:/ten-hands/node_modules/@types/node/index.d.ts'. Consider installing a specific version of this library to resolve the conflict. The file is in the program because: Type library referenced via 'node' from file 'C:/ten-hands/node_modules/@sentry/node/dist/handlers.d.ts' with packageId '@types/node/index.d.ts@12.20.15' Type library referenced via 'node' from file 'C:/ten-hands/node_modules/socket.io/dist/socket.d.ts' with packageId '@types/node/index.d.ts@15.12.2'

1 ///


  ../node_modules/@sentry/node/dist/handlers.d.ts:1:23
    1 /// <reference types="node" />
File is included via type library reference here.

Above just a few for your reference. Please note that I am nobody when it comes to node.js, yarm or npm. So any help of course if you a minute, will be greatly appreciated. :)