Skip to content

Commit

Permalink
Require at least TypeScript version 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
clbond committed Mar 23, 2017
1 parent 23f6efb commit 448f341
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "angular-ssr",
"version": "0.0.61",
"version": "0.0.64",
"description": "Angular server-side rendering implementation",
"main": "build/index.js",
"typings": "build/index.d.ts",
Expand Down Expand Up @@ -53,7 +53,7 @@
"@angular/tsc-wrapped": ">=4.0.0 <5.0.0 || >=4.0.0-rc.6 <5.0.0",
"reflect-metadata": "^0.1.10",
"zone.js": "^0.7",
"typescript": "~2.2.0"
"typescript": ">=2.1.0"
},
"optionalPeerDependencies": {
"@ngrx/store": "^2.2.1"
Expand Down Expand Up @@ -83,7 +83,6 @@
"rxjs": "5.1.0",
"scoped-logger": "^0.0.19",
"source-map-support": "0.4.11",
"typescript": "~2.2.0",
"urijs": "^1.18.9",
"xhr2": "^0.1.4"
},
Expand All @@ -101,6 +100,7 @@
"reflect-metadata": "^0.1.10",
"ts-jest": "^19.0.2",
"tslint": "4.4.2",
"typescript": ">=2.2.0",
"zone.js": "0.8.2"
},
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion source/application/compiler/program.ts
Expand Up @@ -75,7 +75,7 @@ export class CompilableProgram implements Disposable {

const [resolvedModule, symbol] = this.build.resolve(roots, module);
if (resolvedModule == null) {
throw new CompilerException(`Cannot find a module matching the name ${module.source} with a symbol ${module.symbol}`);
throw new CompilerException(`Cannot find an build emission ngfactory matching the name ${module.source} with a symbol ${module.symbol}`);
}

const loadedModule = require(resolvedModule);
Expand Down

0 comments on commit 448f341

Please sign in to comment.