gulp-site-generator
gulp-site-generator copied to clipboard
Gulp commands is not work
I followed the installation steps described in the README but the gulp commands do not work.
First after installation node tools/install
it gave an error saying that the module "browser-sync" was not found but was solved by installing the packages of the tools folder (this was not described in the README).
But now none of the "build", "develop", "update" commands are working:
I don't know if you have the time or interest in fixing this error but would like to use your project because it was the simplest and most complete I found.
I tried to use the "gulp" command in the tools folder and it worked, BUT I did not find the '/build' folder that was to be generated with the final files :/
I wanted to compile the included sample just to take it for a spin and ran into the same problem. I managed to "solve" it after a quick pick at the gulp files.
To get this working on Windows I did the following:
- Clone the repo
-
yarn install
(npm failed on binaries) -
rename the
install
directory tosrc
-
yarn gulp
(produces an error) -
yarn gulp
(succeeds) -
yarn gulp serve
I don't understand enough of this project yet to hazard a guess at the two gulp-related errors, or if renaming the directory is the "right thing to do".
I guess it would be nice if:
- There were instructions for getting the sample site running
- It worked first time without errors.