Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Error while serving ng app #1487

Open
ameyrmfc opened this issue Aug 3, 2020 · 0 comments
Open

Error while serving ng app #1487

ameyrmfc opened this issue Aug 3, 2020 · 0 comments

Comments

@ameyrmfc
Copy link

ameyrmfc commented Aug 3, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant