ottomated / turtle-gambit

[OLD] code to connect to minecraft turtles
242 stars 65 forks source link

running yarn dev in turtle-gambit folder fails #67

Open PzmuV1517 opened 1 year ago

PzmuV1517 commented 1 year ago

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\nodemodules\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 commented 1 year ago

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!