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

wont let be build web #53

Open
pipppy1 opened this issue Sep 4, 2019 · 9 comments
Open

wont let be build web #53

pipppy1 opened this issue Sep 4, 2019 · 9 comments

Comments

@pipppy1
Copy link

pipppy1 commented Sep 4, 2019

Attempting to build webpage...
WindowsError: [Error 2] The system cannot find the file specified:
File "C:\python27\lib\site-packages\platformio\builder\main.py", line 124:
env.SConscript(item, exports="env")
File "C:\Users\phill.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 541:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\phill.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 250:
exec file in call_stack[-1].globals
File "C:\Users\phill\Desktop\build\MQTT433gateway-0.2.0\MQTT433gateway-0.2.0\scripts\build_web.py", line 34:
build_web()
File "C:\Users\phill\Desktop\build\MQTT433gateway-0.2.0\MQTT433gateway-0.2.0\scripts\build_web.py", line 29:
check_call(["npm", "install"])
File "c:\python27\lib\subprocess.py", line 185:
retcode = call(*popenargs, **kwargs)
File "c:\python27\lib\subprocess.py", line 172:
return Popen(*popenargs, **kwargs).wait()
File "c:\python27\lib\subprocess.py", line 394:
errread, errwrite)
File "c:\python27\lib\subprocess.py", line 644:
startupinfo)

@pipppy1
Copy link
Author

pipppy1 commented Sep 4, 2019

mine is esp 01 1meg puya
but wont let me build the 2.0 web . but it lets me buld the 1.0 web

@puuu
Copy link
Owner

puuu commented Sep 4, 2019

Did you have npm/Node.js installed?

Basically, the build should not fail, if npm is not available, but I never tested it on Windows systems.

@pipppy1
Copy link
Author

pipppy1 commented Sep 4, 2019

i will try and install now

@pipppy1
Copy link
Author

pipppy1 commented Sep 4, 2019

nope i think its a problem with travis

@pipppy1
Copy link
Author

pipppy1 commented Sep 4, 2019

please could you build me a version for the esp01 1meg with puya memory support
with thanks

@puuu
Copy link
Owner

puuu commented Sep 5, 2019

Are you sure that npm is installed and PATH is set correctly? What is the result of npm -v in the console.

Building the web front end is optional and should only give a warning if npm is not available. Obviously, this check fails on your system. It would be nice if you could investigate the problem since I can not test under a Windows environment.

Anyway, the building the web front end is optional. You can simply remove pre:scripts/build_web.py from platformio.ini.

Your second issue is with your board. Please explain what your problem is and why the binaries do not work. If possible, show a way (pull requests are welcome) how MQTT433gateway can be made compatible for more boards.

@pipppy1
Copy link
Author

pipppy1 commented Sep 6, 2019

System update
Current version: unknown
Build with:
ArduinoJson: 6.12.0
ArduinoSimpleLogging: 0.2.2
ESPiLight: 0.16.2
PlatformIO: 4.1.0a1
PubSubClient: 2.7
Syslog: 2.0.0
WebSockets: 2.2.0
WifiManager: 0.15-beta
espressif8266: 2.2.3
had to install gilp.js

@pipppy1
Copy link
Author

pipppy1 commented Sep 6, 2019

You can also edit the cores/esp8266/Esp.h file to set the define to 1.

#ifndef PUYA_SUPPORT
#define PUYA_SUPPORT 1
#endif

@pipppy1
Copy link
Author

pipppy1 commented Sep 6, 2019

built and working esp01 1m with puya memory support

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