esprfid / esp-rfid

ESP8266 RFID (RC522, PN532, Wiegand, RDM6300) Access Control system featuring WebSocket, JSON, NTP Client, Javascript, SPIFFS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cant build new html sites

pvtex opened this issue · comments

commented

When i start the builder.exe to generate the compressed webfiles i get this error:

C:\Users\USER\Documents\ESP-RFID\tools\webfilesbuilder>builder.exe
[23:02:15] Using gulpfile ~\Documents\ESP-RFID\tools\webfilesbuilder\gulpfile.js
C:\snapshot\webfilesbuilder\node_modules\gulp\bin\gulp.js:129
    gulpInst.start.apply(gulpInst, toRun);
                   ^

TypeError: Cannot read property 'apply' of undefined
    at C:\snapshot\webfilesbuilder\node_modules\gulp\bin\gulp.js:129:20
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)
    at Function.Module.runMain (pkg/prelude/bootstrap.js:1310:13)
    at startup (bootstrap_node.js:227:16)
    at bootstrap_node.js:648:3
commented

can anybody help?
i need to add a new menu item for a new feature

commented

could fix it by editing the package.json file.

{
  "name": "uglifier",
  "version": "0.0.1",
  "description": "Combine all js and css files into one and gzip them for the ESP-RFID project",
  "main": "unglify.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "start": "gulp"
  },
  "author": "ESP-RFID Developers",
  "license": "UNLICENSED",
  "dependencies": {
    "gulp": "^3.9.1",
    "gulp-concat": "^2.6.1",
    "gulp-flatmap": "^1.0.2",
    "gulp-gzip": "^1.4.2",
    "gulp-htmlmin": "^4.0.0",
    "gulp-uglify": "^3.0.1",
    "pump": "^3.0.0"
  },
  "bin": "node_modules\\gulp\\bin\\gulp.js"
}
commented

fixed

commented

fixed