Open vance opened 7 years ago
i only get this error if i include the angular2-spotify in the providers
var InjectMetadata = (function () {
function InjectMetadata(token) {
this.token = token;
}
InjectMetadata.prototype.toString = function () { return "@Inject(" + lang_1.stringify(this.token) + ")"; };
InjectMetadata = __decorate([
lang_1.CONST(), //ERROR HERE
__metadata('design:paramtypes', [Object])
], InjectMetadata);
return InjectMetadata;
}());
metadata.js:58Uncaught TypeError: lang_1.CONST is not a function(…)(anonymous function) @ metadata.js:58(anonymous function) @ metadata.js:62webpack_require @ bootstrap 1dcd45f…:52(anonymous function) @ di.js:10webpack_require @ bootstrap 1dcd45f…:52(anonymous function) @ di.js:17webpack_require @ bootstrap 1dcd45f…:52(anonymous function) @ metadata.js:6webpack_require @ bootstrap 1dcd45f…:52(anonymous function) @ core.js:10webpack_require @ bootstrap 1dcd45f…:52(anonymous function) @ angular2-spotify.js:13webpack_require @ bootstrap 1dcd45f…:52(anonymous function) @ app.component.ts:8webpack_require @ bootstrap 1dcd45f…:52(anonymous function) @ app.module.ts:14webpack_require @ bootstrap 1dcd45f…:52(anonymous function) @ index.ts:2webpack_require @ bootstrap 1dcd45f…:52(anonymous function) @ main.browser.ts:11webpack_require @ bootstrap 1dcd45f…:52(anonymous function) @ home.component.css?5810:9__webpack_require__ @ bootstrap 1dcd45f…:52webpackJsonpCallback @ bootstrap 1dcd45f…:23(anonymous function) @ main.bundle.js:2
metadata.js:58Uncaught TypeError: lang_1.CONST is not a function
says line 13 of angular2-spotify: var core_1 = require('angular2/core');