home scroll deno

cncjs autolevel widget blog March 2023

March 19, 2023

Installed node version 14 by
nvm install 14
Clone the source code by running
git clone https://github.com/cncjs/cncjs.git
Trying to build dev version by running
npm run build-dev
get errors
scripts/build-dev.sh: line 3: yarn: command not found /media/data/github/cncjs/src /media/data/github/cncjs scripts/build-dev.sh: line 11: cross-env: command not found scripts/build-dev.sh: line 14: cross-env: command not found /media/data/github/cncjs scripts/build-dev.sh: line 19: babel: command not found scripts/build-dev.sh: line 20: i18next-scanner: command not found scripts/build-dev.sh: line 22: cross-env: command not found scripts/build-dev.sh: line 23: i18next-scanner: command not found
Installed yarn:
npm install -g yarn
Simply run
yarn
A lot of node modules are being downloaded!
But completes with
➤ YN0000: Done with warnings in 5m 52s
After that, run
npm run start-prod
Works!!! Open browser at
http://127.0.1.1:8000

Date


Follow Me

discord