I just install angular2cli from bitbucket. After npm install, ng build and ng serve, and go to localhost:4200 I get this error
Uncaught TypeError: ctorParameters.map is not a function
at ReflectionCapabilities.parameters (http://localhost:4200/main.bundle.js:44436:45)
at Reflector.parameters (http://localhost:4200/main.bundle.js:44570:44)
at CompileMetadataResolver.getDependenciesMetadata (http://localhost:4200/main.bundle.js:25124:54)
at CompileMetadataResolver.getTypeMetadata (http://localhost:4200/main.bundle.js:25089:26)
at CompileMetadataResolver.getDirectiveMetadata (http://localhost:4200/main.bundle.js:24864:28)
at http://localhost:4200/main.bundle.js:24933:49
at Array.forEach (native)
at CompileMetadataResolver.getNgModuleMetadata (http://localhost:4200/main.bundle.js:24926:44)
at http://localhost:4200/main.bundle.js:24914:50
at Array.forEach (native)
Anyone can tell me what problem? i updated the new one but still have this issue and I downgrade to [email protected] seems not working at all. Google it and read a lot of "solution" does not work.
I got the same error today, here's what i did: