matrix-hacks / matrix-puppet-signal

A Signal bridge for Matrix
57 stars 15 forks source link

npm install fails on installing @types/react #39

Open arnevdk opened 4 years ago

arnevdk commented 4 years ago

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