Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Is there a reason to npm install for every new grunt project?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #164240
    Aurel
    Participant

    Hi

    I started using grunt by following css-tricks video, then I got the grunt template Chris has on github, did some modifications of my own and now every time I create a new website, Im going to use that.

    At the start I need to run npm install, this installs all the required modules. These modules are stored in a folder named node_modules

    The problem is that npm install sometimes takes too long to download the files. I was thinking that I should just keep those as part of the template so that when I start a new project, I don’t need to run npm install

    What do you think? Would you recommend it or not?

    Thanks

    #164325
    Aurel
    Participant

    That’s a good point on versions! I’ll stick with the same files for now and then just keep an eye on what’s new and update as required

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.