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

error in npm i #1502

Closed
hbastidas opened this issue Jul 16, 2019 · 3 comments
Closed

error in npm i #1502

hbastidas opened this issue Jul 16, 2019 · 3 comments

Comments

@hbastidas
Copy link

hbastidas commented Jul 16, 2019

waves-client@1.3.10 postinstall /Users/user/WavesGUI
sh scripts/postinstall.sh

run post install script
compile typescript
data-service/store.ts:49:32 - error TS2345: Argument of type '<T, U>(obj1: Record<string, T>, obj2: Record<string, U>) => boolean' is not assignable to parameter of type '(a: T, b: T) => boolean'.
Types of parameters 'obj1' and 'a' are incompatible.
Type 'T' is not assignable to type 'Record<string, unknown>'.

49 list => differenceWith(eqProps(idKey), list, toRemoveContainer.map(prop('data'))) as any,
~~~~~~~~~~~~~~

Found 1 error.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! waves-client@1.3.10 postinstall: sh scripts/postinstall.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the waves-client@1.3.10 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

testing in

MacOS 10.14.5
node -v = v10.16.0
npm -v = 6.9.0

@ghost
Copy link

ghost commented Jul 16, 2019

ward

@tsigel
Copy link
Contributor

tsigel commented Jul 17, 2019

Hello, we fix this problem.
What the version of typescript in global and in node_modules?
Your can pull the updates.

@hbastidas
Copy link
Author

wow, I can't reproduce the problem, after deleting the previous git clone and cloning it back to work.

@tsigel tsigel closed this as completed Jul 18, 2019
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

2 participants