-
Notifications
You must be signed in to change notification settings - Fork 117
Cannot read property \'service\' of undefined #222
Comments
Usually this happens when |
I called it without any success https://github.com/kozzztya/share-debt/blob/36cf4897219d4ac218a9a6210ab279de53269445/src/index.js#L6 |
And I didn't see in examples of feathers-auth using |
It looks like you are configuring authentication twice, once in https://github.com/kozzztya/share-debt/blob/36cf4897219d4ac218a9a6210ab279de53269445/src/app.js#L19 and another time in https://github.com/kozzztya/share-debt/blob/36cf4897219d4ac218a9a6210ab279de53269445/src/services/auth/index.js. If you remove https://github.com/kozzztya/share-debt/blob/36cf4897219d4ac218a9a6210ab279de53269445/src/app.js#L19 everything will probably work. |
I tried to configure auth in different places. And I forget to delete auth configuring in |
app.setup wasn't called in test env. thanks for help. |
There is my code:
https://github.com/kozzztya/share-debt/tree/36cf4897219d4ac218a9a6210ab279de53269445
After test running
./node_modules/.bin/ava test/debt-add.test.js
I have an error on login:Can you look what's wrong?
The text was updated successfully, but these errors were encountered: