E
E
Evgeny Andreev2018-07-20 17:20:11
JavaScript
Evgeny Andreev, 2018-07-20 17:20:11

Hello, where can I find information on installing applications offline with npm?

I have been trying to figure out how to use npm if there is no Internet for a long time (I have access to the Internet on the second machine, i.e. you can only transfer information on a USB flash drive), I asked this question on any forum, I received a lot of answers, but unfortunately not a single one of them doesn't work.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan, 2018-07-20
@LiguidCool

Everything that NPM installs falls into the node_modules folder . There is also GLOBAL, but it depends on the OS in which you install it. Accordingly, by copying the node_modules folder, you can transfer the project.

F
floydback, 2018-07-20
@floydback

This is what yarn was created for.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question