Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install fails on installing @types/react #39

Open
arnevdk opened this issue Jan 25, 2020 · 0 comments
Open

npm install fails on installing @types/react #39

arnevdk opened this issue Jan 25, 2020 · 0 comments

Comments

@arnevdk
Copy link

arnevdk commented Jan 25, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant