Skip to content

Backend (root directory) yarn dev error "TypeError: Cannot read properties of undefined (reading 'createCDPSession')" #62

@Jackaroo05

Description

@Jackaroo05

Hello. After some brute forcing some updates to some dependencies, I go to run yarn dev in the backend (root directory), and it spits out this error. I cannot for the life of me figure out how to fix it. Any help is appreciated. Thanks!
`
PS C:\Users<MY NAME>\OneDrive\Desktop\turtle-gambit> yarn dev
yarn run v1.22.19
warning ......\package.json: No license field
$ tsc && node lib/index.js
C:\Users<MY NAME>\OneDrive\Desktop\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<MY NAME>\OneDrive\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:56:29)
at Object.launch (C:\Users<MY NAME>\OneDrive\Desktop\turtle-gambit\node_modules\carlo\lib\carlo.js:625:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions