Advanced Node and Express - How to Use Passport Strategies: Error: ENOENT

Hello there,

This is an issue with Replit. Common ways to avoid the issue are:

  • Opening the .replit file, before clicking the RUN button
  • renaming server.js to index.js - this might require you to remap some of the logic in the testing files - if you are unsure, ask.

Hope this helps

1 Like