Coder Social home page Coder Social logo

Comments (3)

cyrus-and avatar cyrus-and commented on June 15, 2024 1

I hope it's fine to post this type issue here?

Sure, even though I'm not responsible for that kind of issues.

from chrome-remote-interface.

kazarmy avatar kazarmy commented on June 15, 2024

Property 'redirectHasExtraInfo' is missing in type 'import("./node_modules/@types/chrome-remote-interface/node_modules/devtools-protocol/types/protocol").Protocol.Network.RequestWillBeSentEvent' ...

@slhck Apparently you have a node_modules directory within a node_modules directory. My suggestion to fix this is:

  1. npm uninstall devtools-protocol @types/chrome-remote-interface
  2. npm install @types/chrome-remote-interface
  3. Follow the instructions in https://github.com/cyrus-and/chrome-remote-interface#typescript-support for your version of devtools-protocol that is other than 0.0.927104

It would be nice if one could just modify permanently the devtools-protocol version here but I'm not sure whether there is a simple way to do that that survives package updates.

from chrome-remote-interface.

slhck avatar slhck commented on June 15, 2024

Thanks, this seems to have done the job:

yarn remove chrome-remote-interface @types/chrome-remote-interface devtools-protocol
yarn add chrome-remote-interface @types/chrome-remote-interface

I guess the issue arose because at some point an explicit dependency on devtools-protocol was added to get the type. (Which apparently is not necessary brcause the version is bundled.)

from chrome-remote-interface.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.