darrenbrett

Results comments of darrenbrett

Thanks, I have now added the code from the customer model above.

I updated the model to make it cleaner (see updated code above). Still getting the same error, however.

I think this has something to do with circular references. I say that because I only have this issue with the `findOne()` in the pre-hook for the same type as...

Hansl, thanks. Actually, I got the first two errors resolved. My last remaining error is this: Property 'isNullOrEmpty' does not exist on type 'StringConstructor' Not sure why this is appearing...

In the end, got this resolved by adjusting the following: imported { ErrorObservable } from 'rxjs/observable/ErrorObservable'; instead of: import 'rxjs/add/observable/throw';

Having this same issue. Tried various configs in my package.json, but I either end up with this error, or this one goes away and I get another. My package.json looks...

Yes, I uninstalled the old version of the cli globally, cleared cache, and then installed the new version globally, following these instructions: > npm uninstall -g angular-cli @angular/cli > npm...

I resolved this by running this again: > rm -rf node_modules dist > npm install --save-dev @angular/cli@latest > npm install > ng update > And then, when prompted, this time...