Description
Bug Report or Feature Request (mark with an x
)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Versions.
@angular/cli: 1.0.0
node: 7.5.0
os: linux x64
@angular/animations: 4.0.0
@angular/common: 4.0.0
@angular/compiler: 4.0.0
@angular/core: 4.0.0
@angular/forms: 4.0.0
@angular/http: 4.0.0
@angular/material: 2.0.0-beta.2
@angular/platform-browser: 4.0.0
@angular/platform-browser-dynamic: 4.0.0
@angular/platform-server: 4.0.0
@angular/router: 4.0.0
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.0
Repro steps.
It is hard to reproduce as other team members do not have these issues. We are using the same OS, node and angular cli version
The log given by the failure.
On ng serve i get the following error message
ERROR in Error encountered resolving symbol values statically. Calling function 'OpaqueToken', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol INITIAL_REDUCER in /opt/lampp/htdocs/frontend/node_modules/@ngrx/store/src/ng2.d.ts, resolving symbol provideStore in /opt/lampp/htdocs/frontend/node_modules/@ngrx/store/src/ng2.d.ts, resolving symbol StoreModule.provideStore in /opt/lampp/htdocs/frontend/node_modules/@ngrx/store/src/ng2.d.ts, resolving symbol AppModule in /opt/lampp/htdocs/frontend/src/app/app.module.ts, resolving symbol AppModule in /opt/lampp/htdocs/frontend/src/app/app.module.ts
Desired functionality.
Mention any other details that might be useful.
The weirdest thing is that once I make a dummy change (add a space to any file) project compiles successfully.
Also, I use Yarn v0.22.0 if that is relevant