-
Notifications
You must be signed in to change notification settings - Fork 639
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
Unable to compile web interface #147
Comments
Original comment by Sven (Bitbucket: sven-d, GitHub: Unknown): I just noticed that the data/index.html.gz file is generated even if I don't run the
commands, so I guess these commands are not neccessary any more. Thanks, |
With the lastest versions of the firmware the "data/index.html.gz" is not used anymore, instead a "static/index.html.gz.h" file is generated and included in the main firmware image. If you don't want to do changes on the web interface you can simply use the file included in the repo. But to recreate that file you still need to use gulp. |
What version of node.js are you using? I have test it with 4.6.0, 6.11.1 and 8.1.4 with no problems... |
Any update on this? |
Original comment by Sven (Bitbucket: sven-d, GitHub: Unknown): Sorry for the delayed response. |
Try running node with the --harmony flag:
|
Original comment by Sven (Bitbucket: sven-d, GitHub: Unknown): Thanks for your help, but that throws another error:
|
Try upgrading nodejs to 4.6. |
Original comment by Sven (Bitbucket: sven-d, GitHub: Unknown): I have created a Debian Stretch chroot and installed npm 1.4.21+ds-2 and nodejs 4.8.2~dfsg-1. After also installing node-through2 and node-gulp-util, it compiles without problems. Thanks for your help! |
Great |
Originally reported by: Sven (Bitbucket: sven-d, GitHub: Unknown)
Hi there,
I'm trying to compile the web interface as described here:
https://bitbucket.org/xoseperez/espurna/wiki/WebInterface.md
My system is Debian Jessie (8.8) on amd64. I'm trying to compile for Sonoff S20. Compiling the firmware image without web interface works like a charm, but the web interface does not compile.
Here is what I did and what the output was:
Did I do anything wrong?
Thanks for any hint!
Sven
The text was updated successfully, but these errors were encountered: