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'
../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'
../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'
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. :)
Hi Sai Sandeep,
Good day! I am trying to build and run from source but am getting two at two stages.
I see the following error in log file
Also when trying to use yarn start:browser or yarn build:desktop
I see the below error.
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. :)