Skip to content

Instantly share code, notes, and snippets.

@sis0k0
Created November 3, 2017 13:55
Show Gist options
  • Save sis0k0/5f36e8f6e4177380e4fd55d500118663 to your computer and use it in GitHub Desktop.
Save sis0k0/5f36e8f6e4177380e4fd55d500118663 to your computer and use it in GitHub Desktop.
ERROR in TypeError: Cannot read property 'version' of null
at readMetadataFile (/home/[email protected]/newng5/node_modules/@angular/compiler-cli/src/transformers/metadata_reader.js:66:28)
at Object.readMetadata (/home/[email protected]/newng5/node_modules/@angular/compiler-cli/src/transformers/metadata_reader.js:35:25)
at TsCompilerAotCompilerTypeCheckHostAdapter.getMetadataFor (/home/[email protected]/newng5/node_modules/@angular/compiler-cli/src/transformers/compiler_host.js:413:34)
at StaticSymbolResolver.getModuleMetadata (/home/[email protected]/newng5/node_modules/@angular/compiler/bundles/compiler.umd.js:31787:62)
at StaticSymbolResolver.hasDecorators (/home/[email protected]/newng5/node_modules/@angular/compiler/bundles/compiler.umd.js:31514:46)
at analyzeFile (/home/[email protected]/newng5/node_modules/@angular/compiler/bundles/compiler.umd.js:30061:63)
at AotCompiler._analyzeFile (/home/[email protected]/newng5/node_modules/@angular/compiler/bundles/compiler.umd.js:29289:17)
at AotCompiler.findGeneratedFileNames (/home/[email protected]/newng5/node_modules/@angular/compiler/bundles/compiler.umd.js:29305:42)
at Object.findGeneratedFileNames (/home/[email protected]/newng5/node_modules/@angular/compiler-cli/src/transformers/program.js:387:82)
at TsCompilerAotCompilerTypeCheckHostAdapter.getSourceFile (/home/[email protected]/newng5/node_modules/@angular/compiler-cli/src/transformers/compiler_host.js:325:55)
at findSourceFile (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:70246:29)
at processImportedModules (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:70393:25)
at findSourceFile (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:70274:17)
at processImportedModules (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:70393:25)
at findSourceFile (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:70274:17)
at args (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:70200:85)
at getSourceFileFromReferenceWorker (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:70173:34)
at processSourceFile (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:70200:13)
at /home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:70287:17
at Object.forEach (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:1506:30)
at processReferencedFiles (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:70285:16)
at findSourceFile (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:70270:21)
at args (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:70200:85)
at getSourceFileFromReferenceWorker (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:70173:34)
at processSourceFile (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:70200:13)
at processRootFile (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:70055:13)
at /home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:69312:60
at Object.forEach (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:1506:30)
at Object.createProgram (/home/[email protected]/newng5/node_modules/typescript/lib/typescript.js:69312:16)
at AngularCompilerProgram._createProgramWithBasicStubs (/home/[email protected]/newng5/node_modules/@angular/compiler-cli/src/transformers/program.js:431:29)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment