Replit won’t npm install express-session
Tell us what’s happening:
Describe your issue in detail here.
Hi i’m working on the Advanced Node and Express section on the Quality Assurance certification. Specifically I’m on the set up passport challenge.
The issue i’m having is that whenever I try to run my program replit tries to “npm install express_session” from the package.json file. I know the package should be express-session(with a dash) but replit always switches it to a underscore. Manually installing the package appears to be successful but it still tries to install express_session whenever i click “run”.
Your code so far
Here is a link to my replit
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36
Challenge: Set up Passport
Link to the challenge:
freecodecamp.org
freeCodeCamp.org
Learn to Code — For Free