You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 29, 2018. It is now read-only.
When generating a clean project, with v2.3.6 of the cli - i.e.
>feathers generate app
>feathers g authentication
>yarn start
you get the issue Error: You must provide a 'header' in your authentication configuration or pass one explicitly, here is the full log you get:
yarn start v1.0.1
$ node src/
You are using the default filter for the users service. For more information about event filters see https://docs.feathersjs.com/api/events.html#event-filtering
C:\Users\George\Source\Repos\ts4\node_modules\feathers-authentication-jwt\lib\index.js:58
throw new Error('You must provide a \'header\' in your authentication configuration or pass one explicitly');
^
Error: You must provide a 'header' in your authentication configuration or pass one explicitly
at EventEmitter.jwtAuth (C:\Users\George\Source\Repos\ts4\node_modules\feathers-authentication-jwt\lib\index.js:58:13)
at EventEmitter.configure (C:\Users\George\Source\Repos\ts4\node_modules\feathers\lib\application.js:150:8)
at EventEmitter.module.exports (C:\Users\George\Source\Repos\ts4\src\authentication.js:12:7)
at EventEmitter.configure (C:\Users\George\Source\Repos\ts4\node_modules\feathers\lib\application.js:150:8)
at Object.<anonymous> (C:\Users\George\Source\Repos\ts4\src\app.js:44:5)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
error Command failed with exit code 1.
The text was updated successfully, but these errors were encountered:
When generating a clean project, with v2.3.6 of the cli - i.e.
you get the issue
Error: You must provide a 'header' in your authentication configuration or pass one explicitly
, here is the full log you get:The text was updated successfully, but these errors were encountered: