Skip to content

Error on Build #1

@psaussure

Description

@psaussure

Error on build

Just after cloning the project, trying to run it via F5 on VS2015 throw errors

Steps

  • Install VS2015, Core 1.0.1, last Node.js and NPM versions
  • Open Angular2AspNetCoreStarter Solution in VS2015
  • Packages are restored / Checked NPM packages are installed properly
  • on F5, error on build

Output

1>------ Build started: Project: Angular2AspNetCoreStarter, Configuration: Debug Any CPU ------ 1>C:\Angular2AspNetCoreStarter\e2e\base.po.ts(1,10): error TS2305: Build:Module ''protractor'' has no exported member 'browser'. 1>C:\Angular2AspNetCoreStarter\e2e\base.po.ts(1,19): error TS2305: Build:Module ''protractor'' has no exported member 'element'. 1>C:\Angular2AspNetCoreStarter\e2e\base.po.ts(1,28): error TS2305: Build:Module ''protractor'' has no exported member 'by'. 1>C:\Angular2AspNetCoreStarter\e2e\base.po.ts(1,32): error TS2305: Build:Module ''protractor'' has no exported member 'ProtractorBrowser'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\jasmine\index.d.ts(74,9): error TS2375: Build:Duplicate number index signature. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\jasmine\index.d.ts(129,9): error TS2374: Build:Duplicate string index signature. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(70,5): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'main' must be of type 'any', but here has type 'NodeModule'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(81,5): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'parent' must be of type 'any', but here has type 'NodeModule'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(82,5): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'children' must be of type 'any[]', but here has type 'NodeModule[]'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(102,6): error TS2300: Build:Duplicate identifier 'BufferEncoding'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(553,26): error TS2300: Build:Duplicate identifier 'Buffer'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(553,50): error TS2300: Build:Duplicate identifier 'SlowBuffer'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(597,5): error TS2309: Build:An export assignment cannot be used in a module with other exported elements. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(742,18): error TS2300: Build:Duplicate identifier 'Agent'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(797,9): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'addressType' must be of type 'string', but here has type 'number | "udp4" | "udp6"'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(800,18): error TS2300: Build:Duplicate identifier 'Worker'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(1281,9): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'SNICallback' must be of type '(servername: string) => any', but here has type '(servername: string, cb: (err: Error, ctx: SecureContext) => any) => any'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(1481,17): error TS2300: Build:Duplicate identifier 'CompleterResult'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(1518,18): error TS2300: Build:Duplicate identifier 'Script'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(2770,16): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'StringDecoder' must be of type 'new (encoding: string) => NodeStringDecoder', but here has type 'new (encoding?: string) => NodeStringDecoder'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(2821,18): error TS2300: Build:Duplicate identifier 'TLSSocket'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(3018,9): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'pfx' must be of type 'any', but here has type 'string | Buffer[]'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(3019,9): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'key' must be of type 'any', but here has type 'string | any[] | string[] | Buffer'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(3021,9): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'cert' must be of type 'any', but here has type 'string | string[] | Buffer | Buffer[]'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(3022,9): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'ca' must be of type 'any', but here has type 'string | string[] | Buffer | Buffer[]'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(3023,9): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'crl' must be of type 'any', but here has type 'string | string[]'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(3025,9): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'honorCipherOrder' must be of type 'any', but here has type 'boolean'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(3028,9): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'NPNProtocols' must be of type 'any', but here has type 'string[] | Buffer'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(3029,9): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'SNICallback' must be of type '(servername: string) => any', but here has type '(servername: string, cb: (err: Error, ctx: SecureContext) => any) => any'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(3045,9): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'key' must be of type 'string | Buffer', but here has type 'string | string[] | Buffer | Buffer[]'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(3047,9): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'cert' must be of type 'string | Buffer', but here has type 'string | string[] | Buffer | Buffer[]'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(3048,9): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'ca' must be of type '(string | Buffer)[]', but here has type 'string | Buffer | (string | Buffer)[]'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(3287,9): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'padding' must be of type 'any', but here has type 'number'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(3292,9): error TS2403: Build:Subsequent variable declarations must have the same type. Variable 'padding' must be of type 'any', but here has type 'number'. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(3550,5): error TS2309: Build:An export assignment cannot be used in a module with other exported elements. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(3633,5): error TS2300: Build:Duplicate identifier 'export='. 1>C:\Angular2AspNetCoreStarter\node_modules\@types\node\index.d.ts(3655,18): error TS2300: Build:Duplicate identifier 'Domain'. 1>C:\Angular2AspNetCoreStarter\node_modules\protractor\built\browser.d.ts(2,76): error TS2305: Build:Module ''selenium-webdriver'' has no exported member 'Options'. 1>C:\Angular2AspNetCoreStarter\node_modules\protractor\built\browser.d.ts(2,116): error TS2305: Build:Module ''selenium-webdriver'' has no exported member 'TargetLocator'. 1>C:\Angular2AspNetCoreStarter\node_modules\protractor\built\locators.d.ts(4,39): error TS2304: Build:Cannot find name 'By'. 1>C:\Angular2AspNetCoreStarter\node_modules\protractor\built\locators.d.ts(5,27): error TS2304: Build:Cannot find name 'By'. 1>C:\Angular2AspNetCoreStarter\node_modules\protractor\built\locators.d.ts(6,25): error TS2304: Build:Cannot find name 'By'. 1>C:\Angular2AspNetCoreStarter\node_modules\protractor\built\locators.d.ts(7,37): error TS2304: Build:Cannot find name 'By'. 1>C:\Angular2AspNetCoreStarter\node_modules\protractor\built\locators.d.ts(8,25): error TS2304: Build:Cannot find name 'By'. 1>C:\Angular2AspNetCoreStarter\node_modules\protractor\built\locators.d.ts(9,29): error TS2304: Build:Cannot find name 'By'. 1>C:\Angular2AspNetCoreStarter\node_modules\protractor\built\locators.d.ts(10,47): error TS2304: Build:Cannot find name 'By'. 1>C:\Angular2AspNetCoreStarter\node_modules\protractor\built\locators.d.ts(11,35): error TS2304: Build:Cannot find name 'By'. 1>C:\Angular2AspNetCoreStarter\node_modules\protractor\built\locators.d.ts(12,31): error TS2304: Build:Cannot find name 'By'. 1>C:\Angular2AspNetCoreStarter\src\app\app.service.ts(2,26): error TS2307: Build:Cannot find module 'angular2-hmr'. 1>C:\Angular2AspNetCoreStarter\src\main.browser.ts(1,10): error TS2305: Build:Module '"C:/Angular2AspNetCoreStarter/node_modules/@angular/platform-browser-dynamic/index"' has no exported member 'browserDynamicPlatform'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(78,6): error TS2300: Build:Duplicate identifier 'BufferEncoding'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(503,9): error TS2502: Build:'BuffType' is referenced directly or indirectly in its own type annotation. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(504,9): error TS2502: Build:'SlowBuffType' is referenced directly or indirectly in its own type annotation. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(505,26): error TS2300: Build:Duplicate identifier 'Buffer'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(505,50): error TS2300: Build:Duplicate identifier 'SlowBuffer'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(567,22): error TS2320: Build:Interface 'Server' cannot simultaneously extend types 'EventEmitter' and 'Server'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(567,22): error TS2320: Build:Interface 'Server' cannot simultaneously extend types 'EventEmitter' and 'Server'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(567,22): error TS2320: Build:Interface 'Server' cannot simultaneously extend types 'EventEmitter' and 'Server'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(567,22): error TS2320: Build:Interface 'Server' cannot simultaneously extend types 'EventEmitter' and 'Server'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(567,22): error TS2320: Build:Interface 'Server' cannot simultaneously extend types 'EventEmitter' and 'Server'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(567,22): error TS2320: Build:Interface 'Server' cannot simultaneously extend types 'EventEmitter' and 'Server'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(567,22): error TS2320: Build:Interface 'Server' cannot simultaneously extend types 'EventEmitter' and 'Server'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(578,22): error TS2320: Build:Interface 'ServerResponse' cannot simultaneously extend types 'EventEmitter' and 'Writable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(578,22): error TS2320: Build:Interface 'ServerResponse' cannot simultaneously extend types 'EventEmitter' and 'Writable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(578,22): error TS2320: Build:Interface 'ServerResponse' cannot simultaneously extend types 'EventEmitter' and 'Writable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(578,22): error TS2320: Build:Interface 'ServerResponse' cannot simultaneously extend types 'EventEmitter' and 'Writable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(578,22): error TS2320: Build:Interface 'ServerResponse' cannot simultaneously extend types 'EventEmitter' and 'Writable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(578,22): error TS2320: Build:Interface 'ServerResponse' cannot simultaneously extend types 'EventEmitter' and 'Writable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(578,22): error TS2320: Build:Interface 'ServerResponse' cannot simultaneously extend types 'EventEmitter' and 'Writable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(606,22): error TS2320: Build:Interface 'ClientRequest' cannot simultaneously extend types 'EventEmitter' and 'Writable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(606,22): error TS2320: Build:Interface 'ClientRequest' cannot simultaneously extend types 'EventEmitter' and 'Writable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(606,22): error TS2320: Build:Interface 'ClientRequest' cannot simultaneously extend types 'EventEmitter' and 'Writable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(606,22): error TS2320: Build:Interface 'ClientRequest' cannot simultaneously extend types 'EventEmitter' and 'Writable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(606,22): error TS2320: Build:Interface 'ClientRequest' cannot simultaneously extend types 'EventEmitter' and 'Writable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(606,22): error TS2320: Build:Interface 'ClientRequest' cannot simultaneously extend types 'EventEmitter' and 'Writable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(606,22): error TS2320: Build:Interface 'ClientRequest' cannot simultaneously extend types 'EventEmitter' and 'Writable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(632,22): error TS2320: Build:Interface 'IncomingMessage' cannot simultaneously extend types 'EventEmitter' and 'Readable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(632,22): error TS2320: Build:Interface 'IncomingMessage' cannot simultaneously extend types 'EventEmitter' and 'Readable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(632,22): error TS2320: Build:Interface 'IncomingMessage' cannot simultaneously extend types 'EventEmitter' and 'Readable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(632,22): error TS2320: Build:Interface 'IncomingMessage' cannot simultaneously extend types 'EventEmitter' and 'Readable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(632,22): error TS2320: Build:Interface 'IncomingMessage' cannot simultaneously extend types 'EventEmitter' and 'Readable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(632,22): error TS2320: Build:Interface 'IncomingMessage' cannot simultaneously extend types 'EventEmitter' and 'Readable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(632,22): error TS2320: Build:Interface 'IncomingMessage' cannot simultaneously extend types 'EventEmitter' and 'Readable'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(682,18): error TS2300: Build:Duplicate identifier 'Agent'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(727,18): error TS2300: Build:Duplicate identifier 'Worker'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(980,22): error TS2300: Build:Duplicate identifier 'CompleterResult'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(1020,18): error TS2300: Build:Duplicate identifier 'Script'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(1298,22): error TS2320: Build:Interface 'Server' cannot simultaneously extend types 'Socket' and 'EventEmitter'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(1861,18): error TS2300: Build:Duplicate identifier 'TLSSocket'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(2159,18): error TS2420: Build:Class 'Readable' incorrectly implements interface 'ReadableStream'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(2196,18): error TS2420: Build:Class 'Duplex' incorrectly implements interface 'ReadWriteStream'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(2210,18): error TS2420: Build:Class 'Transform' incorrectly implements interface 'ReadWriteStream'. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(2301,5): error TS2300: Build:Duplicate identifier 'export='. 1>C:\Angular2AspNetCoreStarter\typings\globals\node\index.d.ts(2323,18): error TS2300: Build:Duplicate identifier 'Domain'. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions