You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SyntaxError: Invalid regular expression: /agent.circuit-id)/: Unmatched ')'
at RegExp ()
at Object.parse (/opt/glass-isc-dhcp/core/lease-parser.js:108:39)
at /opt/glass-isc-dhcp/core/dhcp-leases.js:12:18
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! dhcpd-glass@0.0.0 start: node ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the dhcpd-glass@0.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-04-18T20_36_09_541Z-debug.log
The text was updated successfully, but these errors were encountered:
Looking into an issue with the following log when trying to start npm. Server type is Centos 7 running dhcpd.
[Glass Server] Watching leases file '/var/lib/dhcpd/dhcpd.leases'
[Glass Server] Config watcher initialized
[Glass Server] DHCP log watcher initialized
[Glass Server] Websocket server starting on port: 8080
[Glass Server] Bootup complete
[Glass Server] OUI Database Loaded
/opt/glass-isc-dhcp/core/lease-parser.js:108
option_value = set_data.replace(RegExp(option_key, "g"), '').trim();
^
SyntaxError: Invalid regular expression: /agent.circuit-id)/: Unmatched ')'
at RegExp ()
at Object.parse (/opt/glass-isc-dhcp/core/lease-parser.js:108:39)
at /opt/glass-isc-dhcp/core/dhcp-leases.js:12:18
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! dhcpd-glass@0.0.0 start:
node ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the dhcpd-glass@0.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-04-18T20_36_09_541Z-debug.log
The text was updated successfully, but these errors were encountered: