Skip to content

npm install fails on installing @types/react #39

@arnevdk

Description

@arnevdk

Hi, I'm trying to install the matrix-puppet-signal bridge on Ubuntu Server 18.04.3 LTS. When I run npm install, it fails on

Running "exec:transpile" (exec) task
$ tsc
node_modules/@types/draft-js/node_modules/@types/react/index.d.ts(2891,14): error TS2300: Duplicate identifier 'LibraryManagedAttributes'.
node_modules/@types/draft-js/node_modules/@types/react/index.d.ts(2904,13): error TS2717: Subsequent property declarations must have the same type.  Property 'a' must be of type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>', but here has type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>'.
...

It looks like the installer is trying to install packages that contain conflicting or duplicate versions of @types/react.
Could this be a bug in the install script?
Here are links to the installer output https://pastebin.com/47LS1Pz9 and the npm debug log https://pastebin.com/kxsqUB7g

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions