Starting with version 1.10.0, The package manager has been changed from NPM to Yarn
https://github.com/cncjs/cncjs/releases
Make sure to use node version 14. If you use nvm:
nvm use 14
Run
yarn
to install the dependencies, then run
yarn build
to build the app.