Access node_modules from another folder

后端 未结 4 711
一向
一向 2021-01-17 18:08

Recently started working with Gulp and I can\'t figure out is it really necessary to have a copy of node_modules directly in folder with current project? E.g. I have this s

4条回答
  •  不思量自难忘°
    2021-01-17 18:17

    Paste the node_modules folder inside your mySite directory.

    All npm packages such as gulp will work in your work or work2 directory.

    But, now(your folder structure) work folders can't find node_modules in their parent directory.

提交回复
热议问题