Skip to content

Instantly share code, notes, and snippets.

@ghalusa
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghalusa/4c2c7df791976e5c7efc to your computer and use it in GitHub Desktop.
Save ghalusa/4c2c7df791976e5c7efc to your computer and use it in GitHub Desktop.
Wellcome Player Error
me@player:~/player$ grunt build
Running "default" task
Running "ts:dev" (ts) task
Compiling...
...
Using tsc v1.0.1
/home/me/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:906
vector.release();
^
TypeError: undefined is not a function
at BitMatrixImpl.release (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:906:32)
at PullInstantiatedTypeReferenceSymbol.PullTypeSymbol.wrapsSomeTypeParameterIntoInfinitelyExpandingTypeReference (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:38021:26)
at PullInstantiatedTypeReferenceSymbol.getGenerativeTypeClassification (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:56587:30)
at PullTypeEnclosingTypeWalker.getGenerativeClassification (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:38846:36)
at PullTypeResolutionContext.oneOfClassificationsIsInfinitelyExpanding (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:39594:71)
at PullTypeResolver.typesAreIdenticalInEnclosingTypes (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:47714:29)
at PullTypeResolver.signatureTypeParametersParametersAndReturnTypesAreIdentical (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:48034:55)
at PullTypeResolver.signaturesAreIdenticalWorker (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:48005:75)
at PullTypeResolver.signaturesAreIdentical (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:47976:40)
at PullTypeResolver.signaturesAreIdenticalWithNewEnclosingTypes (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:47957:47)
at PullTypeResolver.typeCheckFunctionOverloads (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:49414:30)
at /home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:42863:23
at Function.PullTypeResolver.typeCheck (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:49358:21)
at TypeScriptCompiler.getSemanticDiagnostics (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:55508:41)
at CompilerIterator.moveNextSemanticsPhase (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:56137:45)
at CompilerIterator.moveNextInternal (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:56087:33)
at CompilerIterator.moveNext (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:56062:25)
at BatchCompiler.compile (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:62412:20)
at BatchCompiler.batchCompile (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:62251:22)
at TypeScript (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:62928:11)
at Object.<anonymous> (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc.js:62929:3)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/home/ghalusa/player/node_modules/grunt-ts/node_modules/typescript/bin/tsc:2:1)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
>> Error: tsc return code: 1
Warning: Task "ts:build" failed. Use --force to continue.
Aborted due to warnings.
@frehunter
Copy link

I meet the same error, and I don't know how to resolve it.........

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment