linkfy / Tools-for-Instagram

Automation scripts for Instagram
MIT License
501 stars 77 forks source link

Installation Errors #29

Open quintendewilde opened 4 years ago

quintendewilde commented 4 years ago

npm ERR! prepareGitDep 1> npm ERR! prepareGitDep > instagram_mqtt@0.2.15 prepare /Users/quinten/.npm/_cacache/tmp/git-clone-11f58d7a npm ERR! prepareGitDep > npm run build npm ERR! prepareGitDep npm ERR! prepareGitDep npm ERR! prepareGitDep > instagram_mqtt@0.2.15 build /Users/quinten/.npm/_cacache/tmp/git-clone-11f58d7a npm ERR! prepareGitDep > rimraf dist && tsc -p tsconfig.build.json npm ERR! prepareGitDep npm ERR! prepareGitDep node_modules/typescript/lib/lib.dom.d.ts(16532,11): error TS2430: Interface 'WebGL2RenderingContext' incorrectly extends interface 'WebGL2RenderingContextBase'. npm ERR! prepareGitDep Types of property 'clearBufferfv' are incompatible. npm ERR! prepareGitDep Type '(buffer: number, drawbuffer: number, values: ArrayLike | Float32Array, srcOffset?: number | undefined) => void' is not assignable to type '{ (buffer: number, drawbuffer: number, values: Float32List, srcOffset?: number | undefined): void; (buffer: number, drawbuffer: number, values: Iterable, srcOffset?: number | undefined): void; }'. npm ERR! prepareGitDep Types of parameters 'values' and 'values' are incompatible. npm ERR! prepareGitDep Type 'Iterable' is not assignable to type 'ArrayLike | Float32Array'. npm ERR! prepareGitDep Type 'Iterable' is missing the following properties from type 'Float32Array': BYTES_PER_ELEMENT, buffer, byteLength, byteOffset, and 25 more. npm ERR! prepareGitDep node_modules/typescript/lib/lib.dom.d.ts(16532,11): error TS2430: Interface 'WebGL2RenderingContext' incorrectly extends interface 'WebGL2RenderingContextOverloads'. npm ERR! prepareGitDep Types of property 'uniform1fv' are incompatible. npm ERR! prepareGitDep Type '(location: WebGLUniformLocation | null, data: ArrayLike | Float32Array, srcOffset?: number | undefined, srcLength?: number | undefined) => void' is not assignable to type '{ (location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number | undefined, srcLength?: number | undefined): void; (location: WebGLUniformLocation | null, data: Iterable<...>, srcOffset?: number | undefined, srcLength?: number | undefined): void; }'. npm ERR! prepareGitDep Types of parameters 'data' and 'data' are incompatible. npm ERR! prepareGitDep Type 'Iterable' is not assignable to type 'ArrayLike | Float32Array'. npm ERR! prepareGitDep Type 'Iterable' is not assignable to type 'Float32Array'. npm ERR! prepareGitDep node_modules/typescript/lib/lib.dom.d.ts(16532,11): error TS2430: Interface 'WebGL2RenderingContext' incorrectly extends interface 'WebGLRenderingContext'. npm ERR! prepareGitDep Types of property 'uniform1fv' are incompatible. npm ERR! prepareGitDep Type '(location: WebGLUniformLocation | null, data: ArrayLike | Float32Array, srcOffset?: number | undefined, srcLength?: number | undefined) => void' is not assignable to type '{ (location: WebGLUniformLocation | null, v: Float32List): void; (location: WebGLUniformLocation | null, v: Iterable): void; }'. npm ERR! prepareGitDep Types of parameters 'data' and 'v' are incompatible. npm ERR! prepareGitDep Type 'Iterable' is not assignable to type 'ArrayLike | Float32Array'. npm ERR! prepareGitDep Type 'Iterable' is not assignable to type 'Float32Array'. npm ERR! prepareGitDep ../../../../node_modules/@types/webgl2/index.d.ts(582,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'WebGL2RenderingContext' must be of type '{ new (): WebGL2RenderingContext; prototype: WebGL2RenderingContext; readonly ACTIVE_ATTRIBUTES: number; readonly ACTIVE_TEXTURE: number; ... 556 more ...; readonly WAIT_FAILED: number; }', but here has type '{ new (): WebGL2RenderingContext; prototype: WebGL2RenderingContext; readonly ACTIVE_ATTRIBUTES: number; readonly ACTIVE_TEXTURE: number; ... 557 more ...; readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: number; }'. npm ERR! prepareGitDep npm ERR! prepareGitDep 2> npm WARN install Usage of the --dev option is deprecated. Use --only=dev instead. npm ERR! prepareGitDep npm ERR! code ELIFECYCLE npm ERR! prepareGitDep npm ERR! errno 2 npm ERR! prepareGitDep npm ERR! instagram_mqtt@0.2.15 build: rimraf dist && tsc -p tsconfig.build.json npm ERR! prepareGitDep npm ERR! Exit status 2 npm ERR! prepareGitDep npm ERR! npm ERR! prepareGitDep npm ERR! Failed at the instagram_mqtt@0.2.15 build script. npm ERR! prepareGitDep npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! prepareGitDep npm ERR! prepareGitDep npm ERR! A complete log of this run can be found in: npm ERR! prepareGitDep npm ERR! /Users/quinten/.npm/_logs/2020-07-12T13_56_26_263Z-debug.log npm ERR! prepareGitDep npm ERR! code ELIFECYCLE npm ERR! prepareGitDep npm ERR! errno 2 npm ERR! prepareGitDep npm ERR! instagram_mqtt@0.2.15 prepare: npm run build npm ERR! prepareGitDep npm ERR! Exit status 2 npm ERR! prepareGitDep npm ERR! npm ERR! prepareGitDep npm ERR! Failed at the instagram_mqtt@0.2.15 prepare script. npm ERR! prepareGitDep npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! prepareGitDep npm ERR! prepareGitDep npm ERR! A complete log of this run can be found in: npm ERR! prepareGitDep npm ERR! /Users/quinten/.npm/_logs/2020-07-12T13_56_26_380Z-debug.log npm ERR! prepareGitDep npm ERR! premature close

npm ERR! A complete log of this run can be found in: npm ERR! /Users/quinten/.npm/_logs/2020-07-12T13_56_34_479Z-debug.log (base) quinten@MacBook-Pro-van-Quinten Tools-for-Instagram % npm run build npm ERR! missing script: build

npm ERR! A complete log of this run can be found in: npm ERR! /Users/quinten/.npm/_logs/2020-07-12T14_01_15_849Z-debug.log

Nerixyz commented 4 years ago

Try to use the latest version of instagram_mqtt from npm, not GitHub