Y
Y
Yuri Kucherenko2015-11-29 03:49:38
JavaScript
Yuri Kucherenko, 2015-11-29 03:49:38

Why does Gulp lose modules?

Friends, I ran into such a problem ..
There is a clean galp template, I made it myself, everything worked there, I xs how many times I checked
npm i
everything works, it starts, ideal in a word, in a couple of days I launch it .. oops
cannot find module
and moreover it’s strange that the module is
always
different , at first I swore at browser sync . already plumber doesn’t find it, then glyph and so every time it’s new or repeated, but this is not one package, it’s always different, I already updated, 0 result
there, only one notification was updated, everything new apparently
checked for syntax errors everywhere, didn’t miss commas
Sometimes it even took CAM and started normally without dancing (yes, yes, the same template (only clean))
Trouble is solved by repeating npm i
By the way, y I don’t have 100,500 plugins, only the most important, prefixer, sass, combine, well, maybe 10, and before everything started up fine, but now it’s weird.
I'm on Windows, I threw a friend on a poppy - everything works. Who knows ... with these windows you don’t know what to sin on anymore .. or it’s a node in general, sometimes it falls off because of this. (I have the latest node 4.2.1)
PS The link to the template can be looked at by someone, personally I don’t see anything there that would make him swear
PPS And another little trouble with gulp-rename, doesn’t want to write a dependency, --save dev with the key, he refuses to install it at all, when I prescribe it, he also swears, well, these are trifles, basically I’m waiting for an answer to the main trouble

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2015-11-29
@Vovchikvoin

It seems to me that you just need to write something like npm i --dev to install exactly the dev dependencies

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question