I have a TypeScript project in Visual Studio, with modules installed through systemjs. I have the following code:
app.ts
import { Aurelia } from 'aurelia-framework';
For example, hanging Aurelia and pressing F12 (Go to Definition) opens the correct file aurelia-framework.d.tsinstalled by systemjs. However, when I click Build, I get the following output:
error TS2307: Build: Cannot find module 'aurelia-router'.
Here is my tsconfig for reference.
tsconfig.json
{
"version": "1.8.0",
"compilerOptions": {
"rootDir": "src/",
"outDir": "dist/",
"target": "es5",
"module": "system",
"declaration": false,
"noImplicitAny": false,
"removeComments": true,
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true
}
}
source
share