Skip to content

jake LKG silently fails on errors(?) #23147

Closed

Description

@evmar

TypeScript Version: TypeScript Version: e149641 (Friday March 30 2018)

Search Terms: jake LKG aborted

Code

$ node_modules/.bin/jake LKG
[...]
jake aborted.

with no error message. Full trace is below.

After a few lucky guesses I tracked this down to #23146 but I think there's a separate bug in how this fails without any sort of diagnostic output other than "aborted".

Related Issues:

#23146

$ node_modules/.bin/jake LKG
rm -rf built/
node lib/tsc.js --noImplicitAny --noImplicitThis --alwaysStrict --noEmitOnError --types  --pretty --removeComments --out built/local/tsc.js --newLine LF --target es5 --lib es5 --noUnusedLocals --noUnusedParameters src/compiler/core.ts src/compiler/performance.ts src/compiler/sys.ts src/compiler/types.ts src/compiler/scanner.ts src/compiler/parser.ts src/compiler/utilities.ts src/compiler/binder.ts src/compiler/symbolWalker.ts src/compiler/checker.ts src/compiler/factory.ts src/compiler/visitor.ts src/compiler/transformers/utilities.ts src/compiler/transformers/ts.ts src/compiler/transformers/jsx.ts src/compiler/transformers/esnext.ts src/compiler/transformers/es2017.ts src/compiler/transformers/es2016.ts src/compiler/transformers/es2015.ts src/compiler/transformers/es5.ts src/compiler/transformers/generators.ts src/compiler/transformers/destructuring.ts src/compiler/transformers/module/module.ts src/compiler/transformers/module/system.ts src/compiler/transformers/module/es2015.ts src/compiler/transformers/declarations/diagnostics.ts src/compiler/transformers/declarations.ts src/compiler/transformer.ts src/compiler/comments.ts src/compiler/sourcemap.ts src/compiler/emitter.ts src/compiler/watchUtilities.ts src/compiler/program.ts src/compiler/builderState.ts src/compiler/builder.ts src/compiler/resolutionCache.ts src/compiler/watch.ts src/compiler/commandLineParser.ts src/compiler/tsc.ts src/compiler/diagnosticInformationMap.generated.ts

node built/local/tsc.js --noImplicitAny --noImplicitThis --alwaysStrict --noEmitOnError --types  --pretty --declaration --preserveConstEnums --out built/local/typescriptServices.js --newLine LF --stripInternal --target es5 --lib es5 --noUnusedLocals --noUnusedParameters src/compiler/core.ts src/compiler/performance.ts src/compiler/sys.ts src/compiler/types.ts src/compiler/scanner.ts src/compiler/parser.ts src/compiler/utilities.ts src/compiler/binder.ts src/compiler/symbolWalker.ts src/compiler/checker.ts src/compiler/factory.ts src/compiler/visitor.ts src/compiler/transformers/utilities.ts src/compiler/transformers/ts.ts src/compiler/transformers/jsx.ts src/compiler/transformers/esnext.ts src/compiler/transformers/es2017.ts src/compiler/transformers/es2016.ts src/compiler/transformers/es2015.ts src/compiler/transformers/es5.ts src/compiler/transformers/generators.ts src/compiler/transformers/destructuring.ts src/compiler/transformers/module/module.ts src/compiler/transformers/module/system.ts src/compiler/transformers/module/es2015.ts src/compiler/transformers/declarations/diagnostics.ts src/compiler/transformers/declarations.ts src/compiler/transformer.ts src/compiler/comments.ts src/compiler/sourcemap.ts src/compiler/emitter.ts src/compiler/program.ts src/compiler/builderState.ts src/compiler/builder.ts src/compiler/resolutionCache.ts src/compiler/watch.ts src/compiler/watchUtilities.ts src/compiler/commandLineParser.ts src/compiler/diagnosticInformationMap.generated.ts src/services/types.ts src/services/utilities.ts src/services/breakpoints.ts src/services/classifier.ts src/services/completions.ts src/services/documentHighlights.ts src/services/documentRegistry.ts src/services/findAllReferences.ts src/services/importTracker.ts src/services/goToDefinition.ts src/services/jsDoc.ts src/services/jsTyping.ts src/services/navigateTo.ts src/services/navigationBar.ts src/services/organizeImports.ts src/services/outliningElementsCollector.ts src/services/pathCompletions.ts src/services/patternMatcher.ts src/services/preProcess.ts src/services/rename.ts src/services/services.ts src/services/transform.ts src/services/transpile.ts src/services/semver.ts src/services/shims.ts src/services/signatureHelp.ts src/services/suggestionDiagnostics.ts src/services/sourcemaps.ts src/services/symbolDisplay.ts src/services/textChanges.ts src/services/refactorProvider.ts src/services/codeFixProvider.ts src/services/formatting/formatting.ts src/services/formatting/formattingContext.ts src/services/formatting/formattingScanner.ts src/services/formatting/rule.ts src/services/formatting/rules.ts src/services/formatting/rulesMap.ts src/services/formatting/smartIndenter.ts src/services/codefixes/addMissingInvocationForDecorator.ts src/services/codefixes/annotateWithTypeFromJSDoc.ts src/services/codefixes/convertFunctionToEs6Class.ts src/services/codefixes/convertToEs6Module.ts src/services/codefixes/correctQualifiedNameToIndexedAccessType.ts src/services/codefixes/disableJsDiagnostics.ts src/services/codefixes/fixAddMissingMember.ts src/services/codefixes/fixAwaitInSyncFunction.ts src/services/codefixes/fixCannotFindModule.ts src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts src/services/codefixes/fixClassSuperMustPrecedeThisAccess.ts src/services/codefixes/fixConstructorForDerivedNeedSuperCall.ts src/services/codefixes/fixExtendsInterfaceBecomesImplements.ts src/services/codefixes/fixForgottenThisPropertyAccess.ts src/services/codefixes/fixInvalidImportSyntax.ts src/services/codefixes/fixJSDocTypes.ts src/services/codefixes/fixSpelling.ts src/services/codefixes/fixStrictClassInitialization.ts src/services/codefixes/fixUnusedIdentifier.ts src/services/codefixes/fixes.ts src/services/codefixes/helpers.ts src/services/codefixes/importFixes.ts src/services/codefixes/inferFromUsage.ts src/services/codefixes/useDefaultImport.ts src/services/refactors/extractSymbol.ts src/services/refactors/refactors.ts

node built/local/tsc.js --noImplicitAny --noImplicitThis --alwaysStrict --noEmitOnError --types node --pretty --removeComments --outDir built/local/ --module commonjs --newLine LF --target es5 --lib es6 --noUnusedLocals --noUnusedParameters src/server/cancellationToken/cancellationToken.ts

node built/local/tsc.js --noImplicitAny --noImplicitThis --alwaysStrict --noEmitOnError --types node --pretty --removeComments --outDir built/local/ --out built/local/typingsInstaller.js --newLine LF --target es5 --lib es6 --noUnusedLocals --noUnusedParameters src/compiler/types.ts src/compiler/performance.ts src/compiler/core.ts src/compiler/sys.ts src/compiler/diagnosticInformationMap.generated.ts src/compiler/utilities.ts src/compiler/scanner.ts src/compiler/parser.ts src/compiler/commandLineParser.ts src/compiler/moduleNameResolver.ts src/services/semver.ts src/services/jsTyping.ts src/server/types.ts src/server/shared.ts src/server/typingsInstaller/typingsInstaller.ts src/server/typingsInstaller/nodeTypingsInstaller.ts

node built/local/tsc.js --noImplicitAny --noImplicitThis --alwaysStrict --noEmitOnError --types node --pretty --removeComments --outDir built/local/ --out built/local/watchGuard.js --newLine LF --target es5 --lib es6 --noUnusedLocals --noUnusedParameters src/server/watchGuard/watchGuard.ts

node built/local/tsc.js --noImplicitAny --noImplicitThis --alwaysStrict --noEmitOnError --types node --pretty --removeComments --preserveConstEnums --out built/local/tsserver.js --newLine LF --target es5 --lib es6 --noUnusedLocals --noUnusedParameters src/services/shims.ts src/services/utilities.ts src/server/shared.ts src/server/utilities.ts src/server/scriptVersionCache.ts src/server/scriptInfo.ts src/server/typingsCache.ts src/server/project.ts src/server/editorServices.ts src/server/protocol.ts src/server/session.ts src/server/server.ts

node scripts/buildProtocol.js src/server/protocol.ts built/local/typescriptServices.d.ts built/local/protocol.d.ts
cp -r src/compiler/diagnosticMessages.generated.json built/local/diagnosticMessages.generated.json
node built/local/tsc.js --noImplicitAny --noImplicitThis --alwaysStrict --noEmitOnError --types  --pretty --declaration --preserveConstEnums --out built/local/tsserverlibrary.js --newLine LF --stripInternal --target es5 --lib es5 --noUnusedLocals --noUnusedParameters src/server/editorServices.ts src/server/project.ts src/server/protocol.ts src/server/scriptInfo.ts src/server/scriptVersionCache.ts src/server/session.ts src/server/shared.ts src/server/types.ts src/server/typingsCache.ts src/server/utilities.ts src/services/shims.ts src/services/utilities.ts

node scripts/generateLocalizedDiagnosticMessages.js src/loc/lcl built/local/ src/compiler/diagnosticMessages.generated.json
jake aborted.
built/local/pt-BR
built/local/zh-CN
built/local/zh-TW
(See full trace by running task with --trace)

Activity

  1. mhegazy commented on Apr 4, 2018

    @mhegazy
    Contributor

    This is working for me on windows. so i am assuming this is case-sensitive-file-system-specific

  2. evmar commented on Apr 5, 2018

    @evmar
    ContributorAuthor

    Yes, the build likely succeeds on Windows. I filed this bug separately from the case-sensitive one to highlight that when something goes wrong (like this case-sensitive issue) the failure mode is pretty surprising -- just 'aborted' with no error message. But it might be specific to the particular problem here.

  3. added
    Infrastructure
    on May 3, 2018
  4. ghost closed this as completedin #23845on May 4, 2018
  5. locked and limited conversation to collaborators on Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Infrastructure

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions