K
K
kreativ_252019-07-21 21:14:22
webpack
kreativ_25, 2019-07-21 21:14:22

How to build the correct assembly of the node_modules folder?

I am writing a project at work.
I use webpack, vue.js, node.js etc.
The project has a node_modules folder with a lot of components loaded by webpack.
The node_modules folder and a number of other files are written in gitignor and this is absolutely correct.
There were questions when transferring this project to another computer.
How to properly clone an entire project from bitbucket?
How to build the correct assembly of the node_modules folder?
As I understand it, this will require a package.json file, but how to do it correctly?
Thanks in advance for good advice :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2019-07-21
@kreativ_25

Run in the directory of the cloned project:
npm i

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question