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.