Hi,
I’ve been trying to get acs-1.2 to build and install in a way that I can tarball it and transplant it to a production server that doesn’t have access to NPM registries or other caches.
Unfortunately I keep running into various issues around NPM packaging, unsafe-permissions, invalid peer dependendencies, dependencies on old libraries (libxmljs2 etc)… or libraries that just aren’t available for FreeBSD.
A common one that I keep experiencing is a syntax error:
# /usr/local/genieacs/bin/genieacs-cwmp
/usr/local/genieacs/lib/node_modules/genieacs/bin/genieacs-cwmp:37
function exitWorkerGracefully(): void {
^
SyntaxError: Invalid or unexpected token
at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
Any advice and assistance would be appreciated.
~ Rich