jahid
jahid

Reputation: 149

npm install express not fetching node_module

I am trying to install express as server-side framework to work on a project and I am using bower as well for other front-end job. However, When I run npm install express it shows all the files without any error but when I cd into the directory, there is nothing; no node-modules or anything to work with. I googled it but there isn't any solution. Please check the following output -

npm install express


[email protected] ../../node_modules/express
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected] ([email protected])
+-- [email protected] ([email protected])
+-- [email protected] ([email protected])
+-- [email protected] ([email protected], [email protected])
+-- [email protected] ([email protected], [email protected], [email protected])
+-- [email protected] ([email protected])
+-- [email protected] ([email protected], [email protected])

Upvotes: 1

Views: 234

Answers (1)

Kangcor
Kangcor

Reputation: 1189

Npm is saying you that express is in another folder, ../../node_modules/express two levels above your current directory.

Maybe try specifying express in your package.json and do npm install

Upvotes: 1

Related Questions