User.findOrCreate is not a function
See original GitHub issue** READ THIS FIRST! **
Are you looking for help?
Reminder: The issue tracker is not a support forum.
Issues should only be filed in this project once they are able to be reproduced and confirmed as a flaw in the software or incorrect information in associated documention.
If you are encountering problems integrating this module into your application, please post a question on the discussion forum rather than filing an issue.
Is this a security issue?
Do not open issues that might have security implications. Potential security vulnerabilities should be reported privately to jaredhanson@gmail.com. Once any vulerabilities have been repaired, the details will be disclosed publicly in a responsible manner. This also allows time for coordinating with affected parties in order to mitigate negative consequences.
If neither of the above two scenarios apply to your situation, you should open an issue. Delete this paragraph and the text above, and fill in the information requested below.
Expected behavior
Actual behavior
Steps to reproduce
// Format code using Markdown code blocks
Environment
- Operating System:
- Node version:
- passport version:
- passport-google-oauth2 version:
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
hey , just to make that code working, try adding a npm package which will make findorcreate a proper function to work with. for more
HI @Arunps94,
User.findOrCreate
must be your own method.