I
I
Igor Sharamov2016-03-12 21:51:40
Sass
Igor Sharamov, 2016-03-12 21:51:40

WebStorm-Gulp-Sass. How to set up a project for collaboration under Windows and OS X?

The project is on Dropbox.
Working IDE - WebStorm with configured project assembly via Gulp (gulpfile.js).
Gulp-sass, gulp-watch, browser-sync and others are installed as local Node.js packages from under WebStorm.
Everything is installed and configured on a computer with Windows 10, everything works fine, a local project with auto-sync on Dropbox.
I want to organize a second workplace with this project, but from a MacBook on OS X.
But since the Node.js packages are local (i.e. stored in the project folder and synchronized with Dropbox) and the implementation of the packages differs depending on the OS (for example, in the gulp module -sass), then it is not possible to build the project as on Windows - errors are pouring in packages.
Is it possible to come up with something? The global installation of packages did not help, and the descriptions say what exactly needs to be installed locally on the project.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
sim3x, 2016-03-12
@Sharamoff

do not synchronize the node_modules directory

W
Wernalur, 2016-03-12
@Wernalur

So I said everything correctly. Don't sync your modules and move to git in a good way.

I
Igor Sharamov, 2016-03-12
@Sharamoff

Yes, everything was solved by removing the /node_modules folder from synchronization and using it (packages, respectively) for a specific platform.
Thanks to all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question