Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

gulp build dose not generate index.html and scripts #3

Closed
hank123 opened this issue Jan 6, 2017 · 4 comments
Closed

gulp build dose not generate index.html and scripts #3

hank123 opened this issue Jan 6, 2017 · 4 comments

Comments

@hank123
Copy link

hank123 commented Jan 6, 2017

I tried to generate the dist again , here is my steps:
1.npm install
2.bower install
some message here after bower install, but I think this is not an error so that I didn't try to correct the "name" value
bower invalid-meta for:/home/ec2-user/zh/formio-app-formbuilder/bower.json
bower invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes

3.gulp build
here is the log:
[16:08:52] Using gulpfile /home/ec2-user/zh/formio-app-formbuilder/gulpfile.js
(node:27857) DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead.
[16:08:52] Starting 'scripts'...
[16:08:53] Starting 'styles'...
[16:08:53] Starting 'partials'...
[16:08:53] Starting 'fonts'...
[16:08:53] Starting 'ui-grid-fonts'...
[16:08:53] Starting 'other'...
[16:08:53] Starting 'views'...
[16:08:53] Starting 'config'...
[16:08:53] Finished 'partials' after 203 ms
[16:08:53] Finished 'config' after 352 ms
[16:08:53] all files 7.79 kB
[16:08:53] Finished 'scripts' after 940 ms
[16:08:53] Finished 'views' after 380 ms
[16:08:53] Finished 'other' after 382 ms
[16:08:53] Finished 'ui-grid-fonts' after 411 ms
[16:08:53] Finished 'fonts' after 488 ms
[16:08:55] Finished 'styles' after 2.05 s
[16:08:55] Starting 'inject'...
[16:08:55] gulp-inject 1 files into index.html.
[16:08:55] gulp-inject 7 files into index.html.
[16:08:55] Finished 'inject' after 109 ms
[16:08:55] Starting 'html'...
[16:08:55] gulp-inject Nothing to inject into index.html.
Killed

and then I check the dist folder. I don't see index.html and scripts folder.

Thanks

Hank

@travist
Copy link
Member

travist commented Jan 6, 2017

What version of Node are you running? node --version

@hank123
Copy link
Author

hank123 commented Jan 6, 2017

node -v
v6.9.2

@hank123
Copy link
Author

hank123 commented Jan 12, 2017

I am using ec2 mirco, this might because that gulp is running out of memory and the process got killed.

@hank123
Copy link
Author

hank123 commented Jan 12, 2017

I am able to build it in another environment , with node v0.10.46, so it must be environment issue rather than the script problem, closing it.

@hank123 hank123 closed this as completed Jan 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants