N
N
newaitix2017-02-13 10:43:03
Node.js
newaitix, 2017-02-13 10:43:03

How to transfer modules?

I did the installation of modules and obviously screwed up something.
The node is naturally located in C:\Program Files\nodejs
The apache server is located in B. D:\server\apache
The D:\server\apache\htdocs\socketsource codes of the nodejs server lie
During installation, I made some mistake and all the modules were installed in

D:\server\apache\htdocs\socket\node_modules\mysql\node_modules

except mysql. It was installed in D:\server\apache\htdocs\socket\node_modules\mysql
How do I competently transfer all modules to the C:\ drive or to de but at least beyond htdocs ?
This time everything is working great. If I remove the module npm uninstall bignumber.jsand put it globally, npm install bignumber.js -gthen the server does not wake up

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
newaitix, 2017-02-13
@newaitix

https://habrahabr.ru/post/233827/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question