Error building 1.2.3

im getting this error during build
0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘run’, ‘build’ ]
2 info using npm@6.14.9
3 info using node@v14.15.3
4 verbose run-script [ ‘prebuild’, ‘build’, ‘postbuild’ ]
5 info lifecycle genieacs@1.2.3~prebuild: genieacs@1.2.3
6 info lifecycle genieacs@1.2.3~build: genieacs@1.2.3
7 verbose lifecycle genieacs@1.2.3~build: unsafe-perm in lifecycle true
8 verbose lifecycle genieacs@1.2.3~build: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/src/genieacs/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
9 verbose lifecycle genieacs@1.2.3~build: CWD: /usr/src/genieacs
10 silly lifecycle genieacs@1.2.3~build: Args: [ ‘-c’, ‘node -r esm -r ts-node/register/transpile-only build/build’ ]
11 silly lifecycle genieacs@1.2.3~build: Returned: code: 1 signal: null
12 info lifecycle genieacs@1.2.3~build: Failed to exec build script
13 verbose stack Error: genieacs@1.2.3 build: node -r esm -r ts-node/register/transpile-only build/build
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:315:20)
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:315:20)
13 verbose stack at maybeClose (internal/child_process.js:1048:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid genieacs@1.2.3
15 verbose cwd /usr/src/genieacs
16 verbose Linux 5.4.0-58-generic
17 verbose argv “/usr/bin/node” “/usr/bin/npm” “run” “build”
18 verbose node v14.15.3
19 verbose npm v6.14.9
20 error code ELIFECYCLE
21 error errno 1
22 error genieacs@1.2.3 build: node -r esm -r ts-node/register/transpile-only build/build
22 error Exit status 1
23 error Failed at the genieacs@1.2.3 build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

i have tryed with --unsafe-perm to with same problem

Not sure. Logs don’t say much unfortunately. But seeing you’re in /usr/src/genieacs, could it be a permission issue?

no it is not a permision as i’m in sudo su mode during this i forgot to mention it is a ubuntu 20.04 fresh install.