Hi,
New angular cli AOT compilation throughs an error:
Error: Error encountered resolving symbol values statically. Calling function 'makeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in /node_modules/ng2-twitter/node_modules/@angular/core/src/di/metadata.d.ts, resolving symbol Injectable in /node_modules/ng2-twitter/node_modules/@angular/core/src/di.d.ts, resolving symbol Injectable in /node_modules/ng2-twitter/node_modules/@angular/core/src/core.d.ts, resolving symbol Injectable in /node_modules/ng2-twitter/node_modules/@angular/core/index.d.ts, resolving symbol BrowserXhr in /node_modules/ng2-twitter/node_modules/@angular/http/src/backends/browser_xhr.d.ts, resolving symbol BrowserXhr in /node_modules/ng2-twitter/node_modules/@angular/http/src/backends/browser_xhr.d.ts
Hi, New angular cli AOT compilation throughs an error: Error: Error encountered resolving symbol values statically. Calling function 'makeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in /node_modules/ng2-twitter/node_modules/@angular/core/src/di/metadata.d.ts, resolving symbol Injectable in /node_modules/ng2-twitter/node_modules/@angular/core/src/di.d.ts, resolving symbol Injectable in /node_modules/ng2-twitter/node_modules/@angular/core/src/core.d.ts, resolving symbol Injectable in /node_modules/ng2-twitter/node_modules/@angular/core/index.d.ts, resolving symbol BrowserXhr in /node_modules/ng2-twitter/node_modules/@angular/http/src/backends/browser_xhr.d.ts, resolving symbol BrowserXhr in /node_modules/ng2-twitter/node_modules/@angular/http/src/backends/browser_xhr.d.ts
So, the app doesn't compile. Thanks a lot.