Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No gulpfile found #1

Open
adaminfinitum opened this issue Oct 5, 2019 · 2 comments
Open

No gulpfile found #1

adaminfinitum opened this issue Oct 5, 2019 · 2 comments

Comments

@adaminfinitum
Copy link

I tried to use this generator on an Ubuntu 18.04 server running Nginx and Node 10.16.3 without luck.

I followed all the steps listed in the documentation, in order....when that didn't work I tried doing a local install (in addition to the global install and still no luck).

It creates a theme directory and a package-lock.json file but that's all it creates.

When I try to run gulp or gulp debug:true it tells me to run npm install gulp when I do that (I already ran npm install -g gulp-cli successfully) it seems to install but says it skipped an optional dependency as follows:

npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/example.com/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/example.com/package.json'
npm WARN example.com No description
npm WARN example.com No repository field.
npm WARN example.com No README data
npm WARN aexample.com No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+ gulp@4.0.2
added 314 packages from 217 contributors, removed 1 package and audited 6493 packages in 10.581s
found 0 vulnerabilities

Then when I again try to run gulp all I get is a message saying 'No gulpfile found' (which makes sense because the only things items generated were the package-lock.json file and the ./themeplate/ directory (which is empty).

Am I missing something?

Thanks.

@kermage
Copy link
Owner

kermage commented Oct 6, 2019

No, you do not.

You can try again in the same directory, which has the themeplate folder, and use the same theme name (ThemePlate). Then, agree to overwrite when prompted:

ThemePlate already exists.
? Overwrite "themeplate"? Yes

Sorry for the bad experience. broken version released 😞

@kermage
Copy link
Owner

kermage commented Oct 6, 2019

Or, you can test on the latest version, 1.8.0, I just released.

Please update. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants