Skip to content

Commit

Permalink
Adding troubleshooting for Angular2
Browse files Browse the repository at this point in the history
  • Loading branch information
rivkahstandig3636 committed Oct 6, 2017
1 parent 58bd7cc commit d54005a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1397,6 +1397,36 @@ The following browser versions are supported on all major desktop and mobile ope

IE 8+, Firefox 40+, Chrome 44+, Edge 10+, Opera 12+, and Safari 8+.


## Troubleshooting

If your system consists of the following

```
@angular/cli: 1.4.3
node: 6.11.3
os: darwin x64
@angular/animations: 4.4.3
@angular/cli: 1.4.3
@angular/common: 4.4.3
@angular/compiler: 4.4.3
@angular/compiler-cli: 4.4.3
@angular/core: 4.4.3
@angular/forms: 4.4.3
@angular/http: 4.4.3
@angular/platform-browser: 4.4.3
@angular/platform-browser-dynamic: 4.4.3
@angular/router: 4.4.3
@angular/language-service: 4.4.3
typescript: 2.3.4
```

there are some further steps you may need to implement in order to get rollbar.js working for you.

When compiling, if you get the error `Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function`, then the inline factory function in providers should be an exported function.

Another error you may encounter when compiling is `Property 'error' does not exist on type '{}'.` In this case, the RollbarErrorHandler `var rollbar` needs to have a type explicitly defined, i.e. `var rollbar: Rollbar`.

## Help / Support

If you run into any issues, please email us at [[email protected]](mailto:[email protected])
Expand Down

0 comments on commit d54005a

Please sign in to comment.