UPD-15-01-2018 Installing gulp

 npm clean cache npm -v npm i npm check updates -g npm i npm check updates npm i -g gulp npm install gulp-sass --save-dev gulp 

When starting gulp gives an error of missing gulp-clean-css

I run the npm install gulp-clean-css --save-dev

When installing gulp-clean-css , the following happens:

 C:\Open\OSPanel\domains\Compulink>npm install gulp-clean-css --save-dev npm WARN opencart-project@1.0.0 No repository field. npm ERR! path C:\Open\OSPanel\domains\Compulink\node_modules\npm-check-updates\node_modules\npm\node_modules\fs-write-stream-atomic npm ERR! code ENOENT npm ERR! errno -4058 npm ERR! syscall rename npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Open\OSPanel\domains\Compulink\node_modules\npm-check-updates\node_modules\npm\node_modules\fs-write-stream-atomic' -> 'C:\Open\OSPanel\domains\Compulink\node_modules\npm-check-updates\node_modules\npm\node_modules\.fs-write-stream-atomic.DELETE' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent 

I looked into the folder of this path and there is really no fs-write-stream-atomic folder. I copy it from another folder and run the installation on a new one, but this folder itself is deleted, and as a result, this error is again obtained.

npm update , npm-check-updates do not help, they all stop because of this error. And if you just copy it and re-start the installation, then even with these commands, the error is also deleted.

  • The problem of principle? Or why not try installing the packages, say yarn? - MedvedevDev
  • unfortunately only gulp is required here, others are not allowed to use. - beginner
  • one
    no, yarn is an analog of npm'a, not gulp'a, it happened a couple of times that something was wrong with npm, and yarn dependency rules are connected, in fact, it also uses npm, but something in it It works better xDD - MedvedevDev
  • @beginner are you using VS Code? - Arthur
  • @ St1myL no not used. - beginner

0