Good morning.
I was going through the docs and I don't seem to be able to make it work, neither by pulling it via SPM nor cloning it locally.
I got further with cloning it locally, and got to running tsc ./Scripts/main.ts, but I get these errors:
Error: Scripts/BufferWrapper.ts(2,11): error TS2580: Cannot find name 'Buffer'. Do you need
to install type definitions for node? Try `npm i --save-dev @types/node`.
Scripts/BufferWrapper.ts(8,23): error TS2580: Cannot find name 'Buffer'. Do you need to
install type definitions for node? Try `npm i --save-dev @types/node`.
Scripts/BufferWrapper.ts(106,18): error TS2583: Cannot find name 'BigInt'. Do you need to
change your target library? Try changing the 'lib' compiler option to 'es2020' or later.
Scripts/BufferWrapper.ts(106,34): error TS2737: BigInt literals are not available when
targeting lower than ES2020.
Scripts/BufferWrapper.ts(106,41): error TS2583: Cannot find name 'BigInt'. Do you need to
change your target library? Try changing the 'lib' compiler option to 'es2020' or later.
Scripts/BufferWrapper.ts(107,51): error TS2554: Expected 0 arguments, but got 1.
Scripts/BufferWrapper.ts(157,18): error TS2583: Cannot find name 'BigInt'. Do you need to
change your target library? Try changing the 'lib' compiler option to 'es2020' or later.
Scripts/BufferWrapper.ts(162,17): error TS2583: Cannot find name 'BigInt'. Do you need to
change your target library? Try changing the 'lib' compiler option to 'es2020' or later.
Scripts/BufferWrapper.ts(162,40): error TS2583: Cannot find name 'BigInt'. Do you need to
change your target library? Try changing the 'lib' compiler option to 'es2020' or later.
Scripts/BufferWrapper.ts(258,18): error TS2583: Cannot find name 'BigInt'. Do you need to
change your target library? Try changing the 'lib' compiler option to 'es2020' or later.
… +53 lines (ctrl+r to see all)
Is this something I have misconfigured on my side or from yours?
Good morning.
I was going through the docs and I don't seem to be able to make it work, neither by pulling it via SPM nor cloning it locally.
I got further with cloning it locally, and got to running
tsc ./Scripts/main.ts, but I get these errors:Is this something I have misconfigured on my side or from yours?