turtle-gambit icon indicating copy to clipboard operation
turtle-gambit copied to clipboard

running yarn dev in turtle-gambit folder fails

Open PzmuV1517 opened this issue 2 years ago • 2 comments

C:\Users\child\OneDrive\Desktop\scripts LUA\Turtle Gambit\turtle-gambit>yarn dev yarn run v1.22.19 $ tsc && node lib/index.js C:\Users\child\OneDrive\Desktop\scripts LUA\Turtle Gambit\turtle-gambit\node_modules\carlo\lib\carlo.js:56 this.browser_.target().createCDPSession().then(session => { ^

TypeError: Cannot read properties of undefined (reading 'createCDPSession') at App.init_ (C:\Users\child\OneDrive\Desktop\scripts LUA\Turtle Gambit\turtle-gambit\node_modules\carlo\lib\carlo.js:56:29) at Object.launch (C:\Users\child\OneDrive\Desktop\scripts LUA\Turtle Gambit\turtle-gambit\node_modules\carlo\lib\carlo.js:625:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.17.0 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I don't know what to do, I tried everything I found on the web.

PzmuV1517 avatar Aug 03 '23 08:08 PzmuV1517

The most notable thing I did is I deleted the node_modules and yarn.lock file than run yarn again. that made the front end work!

PzmuV1517 avatar Aug 03 '23 08:08 PzmuV1517