Link to home
Start Free TrialLog in
Avatar of Jason Maxwell
Jason Maxwell

asked on

Node npm install express does not install in individual folders now

Hello Experts

I have been able to previously install npm install express into individual folders earlier today but now can't.

If I attempt to install npm express into a targeted folder, it loads in the cmd line but does not generate the package and node_modules file and folder that it's suppose to in the targetted folder.

Is there a solution available for this? (no static file servers/request, only vanilla npm install express). I need to install the express module into any folder that is targetted/destination on a desktop.
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Do you get any error / warning output.
Have you tried an npm cache clear?
What OS are you running on?
What version of Node do you have installed?
Avatar of Jason Maxwell
Jason Maxwell

ASKER

Yes I get a general error of EMPTY FILE when attempting to install node.js into an individual folder.

I am not sure what the npm cache clear does. Is it a permanent solution? Does it empty out the ROOT folder of the node.js?

The OS running is Windows 10 x64

The version of Node.JS is the latest. Version 6.4.1

Correction Version 8.12.0
Yes I get a general error of EMPTY FILE when attempting to install node.js into an individual folder.
When you install node.js or Express?

The version of Node.JS is the latest. Version 6.4.1
No it isn't - 8 was the latest release until a couple days ago when the stable 10 was released.

My advice - update Node - there have been a lot of changes in the last couple versions.
Hello Experts,

Just found that the current npm is 8.12.0 using
 npm-v 

Open in new window

command.

Having issues when I attempt the install npm express in a targetted folder. Normally running this would generate the package-lock files and the node_modules folder. When it runs in the CMD, its not installing the express in folder of choice anymore.
Have you tried removing the express package and reinstalling?
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.