Comments (3)
Hi,
It seems you're running Windows.
The bower
task in gulpfile.js is trying to spawn node_modules/bower/bin/bower
which is not a windows executable.
One solution would be to spawn node_modules/.bin/bower
which is supposed to run node_modules/.bin/bower.cmd
on windows, but this is also not working on windows due to a bug in node nodejs/node-v0.x-archive#2318.
In order to be able to run gulp setup on windows, the simplest is to modify https://github.com/GoogleChrome/ioweb2015/blob/master/gulpfile.js#L90 with
var proc = spawn('..\\node_modules\\.bin\\bower.cmd'
from ioweb2015.
Yeah that worked but now it throws error while building.
C:\Users\Dev\Desktop\ioweb2015>gulp serve
[15:38:57] Using gulpfile ~\Desktop\ioweb2015\gulpfile.js
[15:38:57] Starting 'backend:build'...
[15:38:57] Starting 'backend:config'...
[15:38:57] Finished 'backend:config' after 15 ms
[15:38:57] Starting 'sass'...
[15:38:58] Starting 'generate-page-metadata'...
[15:38:58] Starting 'generate-data-worker-dev'...
[15:38:58] 'data-worker-dev' all files 40.26 kB
[15:38:58] Finished 'generate-data-worker-dev' after 131 ms
[15:38:58] 'styles' all files 109.16 kB
[15:38:58] Finished 'sass' after 906 ms
[15:38:58] Starting 'generate-service-worker-dev'...
[15:38:58] Skipping static resource 'app/bower_components/moment/min/tests.js' (2.25 MB) - max size is 2.1 MB
[15:38:59] Total precache size is about 21.19 MB for 1025 resources.
[15:38:59] Finished 'generate-service-worker-dev' after 583 ms
[15:38:59] Finished 'generate-page-metadata' after 1.23 s
[15:38:59] Finished 'backend:build' after 1.86 s
[15:38:59] Starting 'serve'...
The app should now be available at: http://localhost:3000/io2015
events.js:85
throw er; // Unhandled 'error' event
^
Error: spawn bin/server ENOENT
at exports._errnoException (util.js:746:11)
at Process.ChildProcess._handle.onexit (child_process.js:1053:32)
at child_process.js:1144:20
at process._tickCallback (node.js:355:11)
from ioweb2015.
Yes, noticed that too.
It seems this is the serve
function in gulp_scripts\backend.js which is failing.
It tries to run backend\bin\server, which is not recognized as a windows executable.
If you rename backend\bin\server to backend\bin\server.exe, the app starts, but then it fails when rendering templates.
I think the app is definitively not windows compatible.
from ioweb2015.
Related Issues (20)
- [Homepage] Keynote video doesn't go full screen HOT 3
- Polymer video - default video loaded HOT 2
- Dev server failed for https request HOT 4
- Chrome IOS Site not usable
- Update promises polyfill to latest
- Schedule page: IE console errors for cannot call getLocalizedTime of null
- Schedule: page content doesnt slide in on page nav HOT 4
- Notifications: add vibrate option to notifications
- Notifications: record analytics for every showNotification HOT 1
- missing loader.js seems to prevent template rendering? HOT 10
- gulp build-experiment seems to be broken HOT 3
- Future experiement: template.async -> mutation observers
- 2015 recap video HOT 2
- Firefox: Video Play Button "Watch the keynote" Buttons Broken
- Windows capability HOT 3
- gulp serve fails 'Error: `libsass` bindings not found. Try reinstalling `node-sass`?' HOT 4
- Google I/O 2016 Website issue HOT 2
- paper-drawer menu items not showing #194 HOT 1
- Entire website is broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ioweb2015.