cotestatnt / esp-fs-webserver

ESP32/ESP8266 webserver, WiFi manager and web editor Arduino library
MIT License
117 stars 28 forks source link

Error run node minify.js to generate setup_htm.h #26

Closed arimukhlas closed 1 year ago

arimukhlas commented 1 year ago

Hi @cotestatnt

I have followed the instructions on this link

but I am getting an error

error

but the error still exist, can you give a hint?

cotestatnt commented 1 year ago

Hi @arimukhlas

I've done some edits still to be released. Yoi need to download the latest commits as zip file image

The instructions needs to be updated. Once you have installed the latest avalaible zip you need to:

The node.js script will generate a file named setup_htm.h inside build folder itself. Copy & paste this file in the <your_arduino_libraries_folder>esp-fs-webserver-master\src folder

arimukhlas commented 1 year ago

Hi @arimukhlas

I've done some edits still to be released. Yoi need to download the latest commits as zip file image

The instructions needs to be updated. Once you have installed the latest avalaible zip you need to:

  • open a terminal and set build folder as current. For example: cd <your_arduino_libraries_folder>esp-fs-webserver-master\setup-ui\data\build
  • run npm i to install script dependencies
  • run node minify.js

The node.js script will generate a file named setup_htm.h inside build folder itself. Copy & paste this file in the <your_arduino_libraries_folder>esp-fs-webserver-master\src folder

I have already download latest zip file, but error still exist, it need zlib module

arimukhlas commented 1 year ago

@cotestatnt

error

I have follow your instruction, but error still occur and setup_htm.h isnt generated, do you have any suggestion?