Run npm i aurelia-api
from your project root and add aurelia-api
to the build/bundles/dependencies
section of aurelia-project/aurelia.json
.
Run jspm i aurelia-api
If the installation results in having forks, try resolving them by running:
jspm inspect --forks
jspm resolve --only registry:package-name@version
E.g.
jspm inspect --forks
> Installed Forks
> npm:aurelia-dependency-injection 1.0.0-beta.1.2.3 1.0.0-beta.2.1.0
jspm resolve --only npm:aurelia-dependency-injection@1.0.0-beta.2.1.0
Run npm i aurelia-api
from your project root.
Add to your typings.json
"aurelia-api": "github:spoonx/aurelia-api",
and run typings i
or run
typings i github:spoonx/aurelia-api
Aurelia-api uses extend. To get typings for extend run:
typings i dt~extend --global