While trying to run my Angular2 app with typescript and npm I am getting the error in title. As said in similar topics I tried the "import 'reflect-metadata'; " But it didn't work.
This is the dependency in my package.json file:
"reflect-metadata": "0.1.3",
Thanks in advance for your time
P.S:This happened after I upgraded my app from rc4 to rc5
Edit 1
More details about error:
checkReflect @ vendor.js:40700
(anonymous function) @ vendor.js:40702
(anonymous function) @ vendor.js:40791
initModule @ vendor.js:43
require @ vendor.js:60
expanded @ vendor.js:34
(anonymous function) @ vendor.js:148
(anonymous function) @ vendor.js:30176
(anonymous function) @ vendor.js:30215
initModule @ vendor.js:43
require @ vendor.js:60
expanded @ vendor.js:34
(anonymous function) @ vendor.js:148
(anonymous function) @ vendor.js:30634
(anonymous function) @ vendor.js:30652
initModule @ vendor.js:43
require @ vendor.js:60
expanded @ vendor.js:34
(anonymous function) @ vendor.js:148
(anonymous function) @ vendor.js:37326
(anonymous function) @ vendor.js:37842
initModule @ vendor.js:43
require @ vendor.js:60
expanded @ vendor.js:34
(anonymous function) @ vendor.js:148
(anonymous function) @ vendor.js:36288
(anonymous function) @ vendor.js:37305
initModule @ vendor.js:43
require @ vendor.js:60
expanded @ vendor.js:34
(anonymous function) @ vendor.js:148
(anonymous function) @ vendor.js:26058
(anonymous function) @ vendor.js:26118
initModule @ vendor.js:43
require @ vendor.js:60
expanded @ vendor.js:34
(anonymous function) @ vendor.js:148
(anonymous function) @ vendor.js:9935
(anonymous function) @ vendor.js:10294
initModule @ vendor.js:43
require @ vendor.js:60
expanded @ vendor.js:34
(anonymous function) @ vendor.js:148
(anonymous function) @ vendor.js:12761
(anonymous function) @ vendor.js:12871
initModule @ vendor.js:43
require @ vendor.js:60
expanded @ vendor.js:34
(anonymous function) @ vendor.js:148
(anonymous function) @ vendor.js:12255
(anonymous function) @ vendor.js:12657
initModule @ vendor.js:43
require @ vendor.js:60
expanded @ vendor.js:34
(anonymous function) @ vendor.js:148
(anonymous function) @ vendor.js:12907
(anonymous function) @ vendor.js:12935
initModule @ vendor.js:43
require @ vendor.js:60
expanded @ vendor.js:34
(anonymous function) @ vendor.js:148
(anonymous function) @ vendor.js:12885
(anonymous function) @ vendor.js:12892
initModule @ vendor.js:43
require @ vendor.js:60
expanded @ vendor.js:34
(anonymous function) @ vendor.js:148
(anonymous function) @ vendor.js:6709
(anonymous function) @ vendor.js:6746
initModule @ vendor.js:43
require @ vendor.js:60
expanded @ vendor.js:34
(anonymous function) @ vendor.js:148
(anonymous function) @ vendor.js:49327
(anonymous function) @ vendor.js:49528
initModule @ vendor.js:43
require @ vendor.js:60
expanded @ vendor.js:34
(anonymous function) @ main.js:404
initModule @ vendor.js:43
require @ vendor.js:60
(anonymous function) @ (index):38