ottomated / turtle-gambit

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

I get an error when I run 'yarn dev' #27

Open OllieDarwin opened 3 years ago

OllieDarwin commented 3 years ago

When I run 'yarn dev' I get an error that says:

(node:23132) UnhandledPromiseRejectionWarning: Error: Protocol error (Browser.grantPermissions): Unknown permission type: clipboardRead at E:_STORAGE_\ComputerCraft\turtle-gambit-master\node_modules\carlo\nodemodules\puppeteer-core\lib\Connection.js:74:56 at new Promise () at Connection.send (E:_STORAGE\ComputerCraft\turtle-gambit-master\node_modules\carlo\nodemodules\puppeteer-core\lib\Connection.js:73:12) at BrowserContext.overridePermissions (E:_STORAGE\ComputerCraft\turtle-gambit-master\node_modules\carlo\nodemodules\puppeteer-core\lib\Browser.js:349:28) at BrowserContext. (E:_STORAGE\ComputerCraft\turtle-gambit-master\node_modules\carlo\nodemodules\puppeteer-core\lib\helper.js:109:23) at App.init (E:_STORAGE_\ComputerCraft\turtle-gambit-master\nodemodules\carlo\lib\carlo.js:62:11) at Object.launch (E:_STORAGE\ComputerCraft\turtle-gambit-master\node_modules\carlo\lib\carlo.js:627:15) at processTicksAndRejections (internal/process/task_queues.js:93:5) (Use node --trace-warnings ... to show where the warning was created) (node:23132) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:23132) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.