Angular 2 Nativescript error


I have a repository with mi project, my local repository runs good, but when I clone this repo in other folder to do experiments, I get this error when app start running

file:///app/tns_modules/@angular/core/bundles/core.umd.js:1780:52: JS ERROR TypeError: is not a function. (In ‘ (ctorParam) { return ctorParam && ctorParam.type; })’, ‘’ is undefined)

I read that is a problem with my angular version the strange thing is that is a clone of the repo that is actual running without problem.

Any ideas? thanks !