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

Cannot find module fs #2

Open
assang opened this issue Dec 31, 2019 · 0 comments
Open

Cannot find module fs #2

assang opened this issue Dec 31, 2019 · 0 comments

Comments

@assang
Copy link

assang commented Dec 31, 2019

Can you please help with these errors, it occurs launching by F5.

c:/sarang/MochaTypescriptTest-101/node_modules/@types/chai/index.d.ts(122,9): error TS8020: JSDoc types can only be used inside documentation comments.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/chai/index.d.ts(123,9): error TS8020: JSDoc types can only be used inside documentation comments.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/chai/index.d.ts(127,16): error TS2370: A rest parameter must be of an array type.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/chai/index.d.ts(829,49): error TS2304: Cannot find name 'ReadonlySet'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/chai/index.d.ts(829,66): error TS2304: Cannot find name 'ReadonlyMap'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/chai/index.d.ts(839,45): error TS2304: Cannot find name 'WeakSet'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/chai/index.d.ts(868,52): error TS2304: Cannot find name 'ReadonlySet'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/chai/index.d.ts(868,69): error TS2304: Cannot find name 'ReadonlyMap'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/chai/index.d.ts(878,48): error TS2304: Cannot find name 'WeakSet'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/chai/index.d.ts(909,53): error TS2304: Cannot find name 'ReadonlySet'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/chai/index.d.ts(909,70): error TS2304: Cannot find name 'ReadonlyMap'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/chai/index.d.ts(919,55): error TS2304: Cannot find name 'WeakSet'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/chai/index.d.ts(940,56): error TS2304: Cannot find name 'ReadonlySet'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/chai/index.d.ts(940,73): error TS2304: Cannot find name 'ReadonlyMap'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/chai/index.d.ts(950,58): error TS2304: Cannot find name 'WeakSet'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/node/globals.d.ts(859,38): error TS2304: Cannot find name 'ReadonlySet'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/node/globals.d.ts(993,14): error TS2304: Cannot find name 'MapConstructor'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/node/globals.d.ts(998,25): error TS2693: 'Promise' only refers to a type, but
is being used as a value here.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/node/globals.d.ts(1002,14): error TS2304: Cannot find name 'SetConstructor'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/node/globals.d.ts(1012,18): error TS2304: Cannot find name 'WeakMapConstructor'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/node/globals.d.ts(1013,18): error TS2304: Cannot find name 'WeakSetConstructor'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/node/perf_hooks.d.ts(275,31): error TS2304: Cannot find name 'Map'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/node/stream.d.ts(24,35): error TS2304: Cannot find name 'Iterable'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/node/url.d.ts(94,38): error TS2304: Cannot find name 'Iterable'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/node/url.d.ts(95,106): error TS2304: Cannot find name 'Iterable'.
c:/sarang/MochaTypescriptTest-101/node_modules/@types/node/url.d.ts(108,17): error TS2339: Property 'iterator' does not exist on type 'SymbolConstructor'.
[12:04:31] TypeScript: 26 semantic errors
[12:04:31] TypeScript: emit succeeded (with errors)
[12:04:31] Finished 'tsc' after 10 s
[12:04:31] Starting 'default'...
[12:04:31] Finished 'default' after 91 μs

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