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
I forked this repo, opened example, did npm install and npm pretest and i'm getting these errors
example
npm install
npm pretest
lukepighetti@Lukes-iMac example % npm run pretest > [email protected] pretest > tsc --lib es6 --outDir out --sourceMap index.ts test.ts node_modules/@types/node/assert.d.ts:2:68 - error TS1144: '{' or ';' expected. 2 function assert(value: any, message?: string | Error): asserts value; ~~~~~ node_modules/@types/node/assert.d.ts:53:68 - error TS1144: '{' or ';' expected. 53 function ok(value: any, message?: string | Error): asserts value; ~~~~~ node_modules/@types/node/assert.d.ts:62:94 - error TS1144: '{' or ';' expected. 62 function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T; ~~~~~~ node_modules/@types/node/assert.d.ts:62:101 - error TS1005: ';' expected. 62 function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T; ~~ node_modules/@types/node/assert.d.ts:62:104 - error TS1005: ';' expected. 62 function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T; ~ node_modules/@types/node/assert.d.ts:64:98 - error TS1144: '{' or ';' expected. 64 function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T; ~~~~~~ node_modules/@types/node/assert.d.ts:64:105 - error TS1005: ';' expected. 64 function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T; ~~ node_modules/@types/node/assert.d.ts:64:108 - error TS1005: ';' expected. 64 function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T; ~ node_modules/@types/node/assert.d.ts:72:47 - error TS1144: '{' or ';' expected. 72 function ifError(value: any): asserts value is null | undefined; ~~~~~ node_modules/@types/node/assert.d.ts:72:53 - error TS1005: ';' expected. 72 function ifError(value: any): asserts value is null | undefined; ~~ node_modules/@types/node/assert.d.ts:72:56 - error TS1005: ';' expected. 72 function ifError(value: any): asserts value is null | undefined; ~~~~ node_modules/@types/node/assert.d.ts:99:61 - error TS1005: ';' expected. 99 (value: any, message?: string | Error): asserts value; ~~~~~ node_modules/@types/node/base.d.ts:10:1 - error TS1084: Invalid 'reference' directive syntax. 10 /// <reference lib="es2018" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/@types/node/base.d.ts:11:1 - error TS1084: Invalid 'reference' directive syntax. 11 /// <reference lib="esnext.asynciterable" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/@types/node/base.d.ts:12:1 - error TS1084: Invalid 'reference' directive syntax. 12 /// <reference lib="esnext.intl" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/@types/node/base.d.ts:13:1 - error TS1084: Invalid 'reference' directive syntax. 13 /// <reference lib="esnext.bigint" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/@types/node/ts3.4/base.d.ts:10:1 - error TS1084: Invalid 'reference' directive syntax. 10 /// <reference lib="es2018" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/@types/node/ts3.4/base.d.ts:11:1 - error TS1084: Invalid 'reference' directive syntax. 11 /// <reference lib="esnext.asynciterable" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/@types/node/ts3.4/base.d.ts:12:1 - error TS1084: Invalid 'reference' directive syntax. 12 /// <reference lib="esnext.intl" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/@types/node/ts3.4/base.d.ts:13:1 - error TS1084: Invalid 'reference' directive syntax. 13 /// <reference lib="esnext.bigint" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/@types/node/ts3.6/base.d.ts:10:1 - error TS1084: Invalid 'reference' directive syntax. 10 /// <reference lib="es2018" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/@types/node/ts3.6/base.d.ts:11:1 - error TS1084: Invalid 'reference' directive syntax. 11 /// <reference lib="esnext.asynciterable" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/@types/node/ts3.6/base.d.ts:12:1 - error TS1084: Invalid 'reference' directive syntax. 12 /// <reference lib="esnext.intl" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/@types/node/ts3.6/base.d.ts:13:1 - error TS1084: Invalid 'reference' directive syntax. 13 /// <reference lib="esnext.bigint" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! code 2 npm ERR! path /private/tmp/vscode-code-coverage/example npm ERR! command failed npm ERR! command sh -c tsc --lib es6 --outDir out --sourceMap index.ts test.ts npm ERR! A complete log of this run can be found in: npm ERR! /Users/lukepighetti/.npm/_logs/2021-01-23T23_03_37_049Z-debug.log
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I forked this repo, opened
example
, didnpm install
andnpm pretest
and i'm getting these errorsThe text was updated successfully, but these errors were encountered: