We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cd zoid-demo && npm install
npm run build
npm run test
> npm run lint && npm run flow-typed && npm run flow && npm run karma npm WARN invalid config loglevel="notice" > eslint src/ test/ *.js npm WARN invalid config loglevel="notice" > rm -rf ./flow-typed && flow-typed install [before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4 • Found 6 dependencies in package.json to install libdefs for. Searching... • rebasing flow-typed cache... • Installing 2 libDefs... • flow-bin_v0.x.x.js └> ./flow-typed/npm/flow-bin_v0.x.x.js flow-bin /Users/n/Desktop/repos/zoid-demo/flow-typed/npm • mocha_v4.x.x.js └> ./flow-typed/npm/mocha_v4.x.x.js mocha /Users/n/Desktop/repos/zoid-demo/flow-typed/npm • Generating stubs for untyped dependencies... • grumbler-scripts@^3 └> flow-typed/npm/grumbler-scripts_vx.x.x.js • serve@^10.1.1 └> flow-typed/npm/serve_vx.x.x.js • zoid@^9.0.28 └> flow-typed/npm/zoid_vx.x.x.js • jsx-pragmatic@^1.0.11 └> flow-typed/npm/jsx-pragmatic_vx.x.x.js !! No [email protected] libdefs found in flow-typed for the above untyped dependencies !! We've generated `any`-typed stubs for these packages, but consider submitting libdefs for them to https://github.com/flowtype/flow-typed/ npm WARN invalid config loglevel="notice" > flow Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/zoid/src/child/index.js:232:16 Cannot return object literal because: • property fireAndForget is missing in function [1] but exists in CrossDomainFunctionType [2] in property updateProps. • property fireAndForget is missing in function [3] but exists in CrossDomainFunctionType [4] in property close. [2] 23│ updateProps : CrossDomainFunctionType<[ PropsType<P> ], void>, [4] 24│ close : CrossDomainFunctionType<[], void> : 229│ 230│ const self = this; 231│ 232│ return { [1] 233│ updateProps(props : (PropsType<P>)) : ZalgoPromise<void> { 234│ return ZalgoPromise.try(() => self.setProps(props, this.__origin__, true)); 235│ }, 236│ [3] 237│ close() : ZalgoPromise<void> { 238│ return ZalgoPromise.try(() => self.destroy()); 239│ } 240│ }; 241│ } 242│ 243│ resize({ width, height } : { width : ?number, height : ?number }) : ZalgoPromise<void> { Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/zoid/src/component/component.js:405:12 Cannot return init because: • null or undefined [1] is incompatible with P [2] in property xprops. • inexact null or undefined [1] is incompatible with exact object type [3] in property xprops. node_modules/zoid/src/component/component.js [1] 118│ xprops : ?PropsType<P> : 402│ init.canRenderTo = (win) => component.canRenderTo(win); 403│ init.xprops = component.xprops; 404│ 405│ return init; 406│ } 407│ 408│ export function destroyAll() : ZalgoPromise<void> { node_modules/zoid/src/component/props.js [3] 39│ export type PropsType<P> = {| 40│ timeout? : timeoutPropType, 41│ window? : ?windowPropType, 42│ close? : ?closePropType, 43│ focus? : ?focusPropType, 44│ resize? : ?resizePropType, 45│ cspNonce? : ?cspNoncePropType, 46│ 47│ onDisplay : onDisplayPropType, 48│ onRendered : onRenderedPropType, 49│ onRender : onRenderPropType, 50│ onClose : onClosePropType, 51│ onError : onErrorPropType, 52│ onProps : onPropsPropType<P> [2] 53│ |} & P; Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/zoid/src/parent/index.js:529:16 Cannot return object literal because: • property fireAndForget is missing in function [1] but exists in CrossDomainFunctionType [2] in property checkClose. • property fireAndForget is missing in function [3] but exists in CrossDomainFunctionType [4] in property resize. [2] 43│ checkClose : CrossDomainFunctionType<[], void>, [4] 44│ resize : CrossDomainFunctionType<[{ width? : ?number, height? : ?number }], void>, : [1] 524│ const checkClose = () => this.checkClose(win); [3] 525│ const resize = ({ width, height }) => this.resize({ width, height }); 526│ 527│ init.onError = onError; 528│ 529│ return { init, close, checkClose, resize, onError }; 530│ } 531│ 532│ resize({ width, height } : { width? : ?number, height? : ?number }) : ZalgoPromise<void> { Found 6 errors npm ERR! Darwin 18.7.0 npm ERR! argv "/usr/local/Cellar/node/11.11.0/bin/node" "/Users/n/Desktop/repos/zoid-demo/node_modules/.bin/npm" "run" "flow" npm ERR! node v11.11.0 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! [email protected] flow: `flow` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the [email protected] flow script 'flow'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the zoid-demo package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! flow npm ERR! You can get information on how to open an issue for this project with: npm ERR! Or if that isn't available, you can get their info via: npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! test: `npm run lint && npm run flow-typed && npm run flow && npm run karma` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the 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! /Users/n/.npm/_logs/2019-08-22T20_55_19_369Z-debug.log
Any ideas?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
cd zoid-demo && npm install
npm run build
--> fails atnpm run test
Any ideas?
The text was updated successfully, but these errors were encountered: