Cannot read properties of undefined (reading 'stdin')

Using Linux terminal and runned the command npm run test, after a while loading stuff it appeared this message.

$ npm run test
@decentology/dappstarter-dapplib: npm ERR! Cannot read properties of undefined (reading 'stdin')
@decentology/dappstarter-dapplib: npm ERR! A complete log of this run can be found in:
@decentology/dappstarter-dapplib: npm ERR!     /home/galaxyben/.npm/_logs/2022-02-08T19_00_29_925Z-debug.log
@decentology/dappstarter-dapplib: error Command failed with exit code 1.
@decentology/dappstarter-dapplib: info Visit for documentation about this command.
lerna ERR! yarn run test exited 1 in '@decentology/dappstarter-dapplib'

Not sure if I’m missing something, already reinstalled the npm library, rebuild it and checked the versions of all the libraries needed.