gulp-site-generator icon indicating copy to clipboard operation
gulp-site-generator copied to clipboard

Gulp commands is not work

Open iagobruno opened this issue 6 years ago • 2 comments

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:

image

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.

iagobruno avatar Jun 01 '18 04:06 iagobruno

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 :/

image image

iagobruno avatar Jun 01 '18 04:06 iagobruno

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 to src
  • 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.

dave-newson avatar Jun 30 '18 07:06 dave-newson