Skip to content

someone help me with installation please i beg #1

@Jurdus

Description

@Jurdus

PS C:\Users\antic\Downloads\GitDaw-main\GitDaw-main> npm run build

ableton-json-converter@1.0.0 build
tsc

src/converter.ts:26:60 - error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string | ArrayBufferView | Iterable<string | ArrayBufferView> | AsyncIterable<string | ArrayBufferView> | Stream'.
Type 'Buffer' is not assignable to type 'Uint8Array | DataView'.
Type 'Buffer' is not assignable to type 'Uint8Array'.
The types of 'slice(...).buffer' are incompatible between these types.
Type 'ArrayBufferLike' is not assignable to type 'ArrayBuffer'.
Type 'SharedArrayBuffer' is missing the following properties from type 'ArrayBuffer': resizable, resize, detached, transfer, transferToFixedLength

26 await fs.writeFile(live_set/ableton/${fileName}.als, zipped);
~~~~~~

utils/zlib.ts:5:21 - error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'InputType'.
Type 'Buffer' is not assignable to type 'ArrayBuffer | Uint8Array | DataView'.
Type 'Buffer' is not assignable to type 'Uint8Array'.
The types of 'slice(...).buffer' are incompatible between these types.
Type 'ArrayBufferLike' is not assignable to type 'ArrayBuffer'.
Type 'SharedArrayBuffer' is missing the following properties from type 'ArrayBuffer': resizable, resize, detached, transfer, transferToFixedLength

5 zlib.gunzip(buffer, (err, result) => {
~~~~~~

Found 2 errors in 2 files.

Errors Files
1 src/converter.ts:26
1 utils/zlib.ts:5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions