Skip to content

TypeScript build fails (tsc build of this project itself) #14555

Closed
@Bnaya

Description

@Bnaya

This a build of a plain fork on the same commit as this repo
https://travis-ci.org/brandtotal/TypeScript/jobs/209286829

The build fails on:

node built/local/tsc.js --noImplicitAny --noImplicitThis --noEmitOnError --types  --pretty --preserveConstEnums --outDir built/local/ --module commonjs -sourcemap -mapRoot file:////home/travis/build/brandtotal/TypeScript/built/local --target es5 --lib es5,scripthost --noUnusedLocals --noUnusedParameters src/server/cancellationToken/cancellationToken.ts
1841     export class URLSearchParams implements Iterable<string[]> {
                                                 ~~~~~~~~
node_modules/@types/node/index.d.ts(1841,45): error TS2304: Cannot find name 'Iterable'.

The --lib es5,scripthost is missing es6 to have the iterator interface.

I don't know how your travis build is passing, i would assume its something on the cached dependencies.
try to clear your cache and run the build again

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedA PR has been merged for this issueInfrastructureIssue relates to TypeScript team infrastructure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions