augury icon indicating copy to clipboard operation
augury copied to clipboard

Error while serving ng app

Open ameyrmfc opened this issue 5 years ago • 0 comments

Augury: 1.25.2 Date: Mon, 03 Aug 2020 08:25:53 GMT OS: Linux x86_64

Description of issue:

-- Getting following issue while using bot rquirejs and node. ERROR in node_modules/@types/node/module.d.ts:51:14 - error TS2300: Duplicate identifier 'mod'.

51 export = Module; ~~~~~~

node_modules/@types/requirejs/index.d.ts:38:14 38 export = mod; ~~~ 'mod' was also declared here. node_modules/@types/requirejs/index.d.ts:38:14 - error TS2300: Duplicate identifier 'mod'.

38 export = mod; ~~~

node_modules/@types/node/module.d.ts:51:14 51 export = Module; ~~~~~~ 'mod' was also declared here. node_modules/@types/requirejs/index.d.ts:422:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'require' must be of type 'NodeRequire', but here has type 'Require'.

422 declare var require: Require; ~~~~~~~

node_modules/@types/node/globals.d.ts:62:13 62 declare var require: NodeRequire; ~~~~~~~ 'require' was also declared here.

** Angular Live Development Server is listening on l

Angular version : 9

ameyrmfc avatar Aug 03 '20 08:08 ameyrmfc