Closed mdartic closed 1 year ago
I've updated feathers-hooks-common
package to its pre-release, errors for this package disappear.
I try to update overrides
for the fam package, even feathers-hooks-common
that is used, but I feel like a bad tester, trying to find a path without knowing exactly what I'm doing...
Closed by #196. Released as feathers-authentication-management@5.0.0-pre.0
🎉
Steps to reproduce
feathers-gen-specs.json
file from your app.src/services/[serviceName]/[serviceName].schema.?s
files if the issue involves the fields in one or more services.These last 2 items usually allow us to regen enough of your app to recreate the issue. We may otherwise ask you to provide a minimal GitHub repo or gist isolating the issue.
feathers generate app
with default (Koa, SQLite)feathers-authentication-management
(alsofeathers-hooks-common
in the github repo)addVerification
hook in users hooks, eg. create beforeExpected behavior
Tell us what should happen
This should work, and don't break the compilation ?
Actual behavior
Tell us what happens instead
TS compilation breaks.
System configuration
Tell us about the applicable parts of your setup.
A github repo is available https://github.com/mdartic/feathers-dove-fam
Module versions (especially the part that's not working):
NodeJS version: 18
Operating System: Linux Mint
Other ideas
I don't know why there are these errors. feathers-hooks-commons seems to be in the same case. Maybe I'm wrong when installing / using those packages, don't really know, but hard to find the good path.
I try to override the dependencies of fam, you can check the
override
branch. https://github.com/mdartic/feathers-dove-fam/commit/2145bce5dffc473af426716331ba580cfcff574aBut this doesn't help. (maybe related to feathers-hooks-common, didn't make the test with only fam.)
Do you have an idea ?