Team-Hycon / hycon-core

Core Repository for the HYCON blockchain
https://hycon.io
MIT License
37 stars 29 forks source link

Npm test failed #27

Closed liuyangc3 closed 4 years ago

liuyangc3 commented 4 years ago

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Description

Steps to Reproduce

npm run test

node_modules/@material-ui/core/Button/Button.d.ts:5:18 - error TS2430: Interface 'ButtonProps' incorrectly extends interface 'Pick<ButtonBaseProps, "media" | "hidden" | "dir" | "form" | "slot" | "style" | "title" | "disable...'.
  Type 'ButtonProps' is not assignable to type 'Pick<ButtonBaseProps, "media" | "hidden" | "dir" | "form" | "slot" | "style" | "title" | "disable...'.
    Types of property 'type' are incompatible.
      Type 'string' is not assignable to type '"button" | "reset" | "submit"'.

5 export interface ButtonProps extends StandardProps<ButtonBaseProps, ButtonClassKey, 'component'> {
                   ~~~~~~~~~~~

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! hycon@0.2.1 test: `rm -rf build && tsc && istanbul cover node_modules/jasmine/bin/jasmine.js -x **/proto.*  -- --config=jasmine.json && remap-istanbul -i ./coverage/coverage.json -o ./coverage/remap-report -t html`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the hycon@0.2.1 test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ops/.npm/_logs/2020-06-29T06_54_42_408Z-debug.log

Expected Behavior

Actual Behavior

Reproduces how often / at what point

Your Environment 🌎

Tech Version
Hycon Core v0.2.1
OS Linux
etc.