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

Error while serving ng app #1487

@ameyrmfc

Description

@ameyrmfc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions