This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Cannot read property 'picture' of undefined #323
Comments
I can reproduce the same issue. |
I found this in passport.ts: passport.deserializeUser((id, done) => {
User.findById(id, (err: NativeError, user: UserDocument) => {
done(err, user.id);
});
}); Should be passport.deserializeUser((id, done) => {
User.findById(id, (err: NativeError, user: UserDocument) => {
done(err, user);
});
}); instead!? (returning |
peterblazejewicz
added a commit
to peterblazejewicz/TypeScript-Node-Starter
that referenced
this issue
Apr 25, 2021
This fixes issue with failing pages /cc @klemensz Fixes microsoft#323
peterblazejewicz
added a commit
that referenced
this issue
Apr 25, 2021
brittanydrandolph
pushed a commit
that referenced
this issue
Jun 17, 2022
pull bot
pushed a commit
to nemoipaha/TypeScript-Node-Starter
that referenced
this issue
Jul 2, 2022
This fixes issue with failing pages /cc @klemensz Fixes microsoft#323
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Followed the basic steps to cloning and setting up the project and am getting the following error, simply after creating an account seemingly successfully:
The text was updated successfully, but these errors were encountered: