Skip to content
New issue

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

Can't get this to work at all #59

Open
lukepighetti opened this issue Jan 23, 2021 · 0 comments
Open

Can't get this to work at all #59

lukepighetti opened this issue Jan 23, 2021 · 0 comments

Comments

@lukepighetti
Copy link

I forked this repo, opened example, did npm install and npm pretest and i'm getting these errors

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant