H
H
Hiroshima2020-08-23 19:21:53
npm
Hiroshima, 2020-08-23 19:21:53

How to update mkdirp to install express?

The main problem is that I can't create the express skeleton (or install express).
When trying to install express, it throws an error: "npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x. )". It literally says that mkdirp is outdated and needs to be updated, but I don't know how to update it.
5f429285dd045837585066.png
Nothing appeared in the folders with the so-called project.

I tried differently, as one of the users of the Harb form advised me. I then had to mark it as the right solution, because no one else wrote about this, and even though this was not the solution to my problem.
Here is a link to the question: " Why is expres not installed? ".

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
hzzzzl, 2020-08-23
@Hiroshima

Nothing appeared in the folders with the so-called project

because npm i *module_name* -g installs g-globally at the system level, just try
npm i express-generator

A
Alexey Yarkov, 2020-08-23
@yarkov

Is it just me or is it some kind of Spanish shame? WARN is a warning, not an error. Judging by the line, updated 1 package in 1.545severything went well))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question