0

Cannot find module 'express' in server side. error

1
  • 1
    Basic questions. Did you install the Express module in the project directory with npm install express? Please show us the part of your index.js file that the Express module and triggers the error. If you go into your project directory (where index.js is located) and type npm info express, what does it show? Please add this information to your question using the "edit" link below your question. Commented Jan 4, 2022 at 6:56

2 Answers 2

1

Always note to use npm i when ever you clone into the server to install missing packages.

Sign up to request clarification or add additional context in comments.

Comments

0

the express package is not found in local node_modules packages

try add it with

npm i express

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.