Setting up freeCodeCamp locally on ubuntu 20.04 focal fossa

I have installed mongodb 3.6 and using ubuntu 20.04, node -v: 14.2.0, npm -v: 6.14
I am on this step: sudo npm run seed

upon running this command I am getting this error:

@freecodecamp/freecodecamp@0.0.1 seed:path-migration /home/zowhair/Documents/web/js/freeCodeCamp/freeCodeCamp1/freeCodeCamp
cross-env DEBUG=fcc:* node ./tools/scripts/seed/create-path-migration

internal/modules/cjs/loader.js:1023
throw err;
^

Error: Cannot find module ‘character-entities’
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @freecodecamp/freecodecamp@0.0.1 seed:path-migration: cross-env DEBUG=fcc:* node ./tools/scripts/seed/create-path-migration
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @freecodecamp/freecodecamp@0.0.1 seed:path-migration script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-07-05T08_51_37_386Z-debug.log
(node:15777) Warning: Accessing non-existent property ‘count’ of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
(node:15777) Warning: Accessing non-existent property ‘findOne’ of module exports inside circular dependency
(node:15777) Warning: Accessing non-existent property ‘remove’ of module exports inside circular dependency
(node:15777) Warning: Accessing non-existent property ‘updateOne’ of module exports inside circular dependency
(node:15777) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
fcc:tools:seedLocalAuthUser Connected successfully to mongo +0ms
ERROR: “seed:path-migration” exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @freecodecamp/freecodecamp@0.0.1 seed: npm-run-all -p seed:*
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @freecodecamp/freecodecamp@0.0.1 seed script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-07-05T08_51_37_436Z-debug.log

A post was merged into an existing topic: Error while setting up freeCodeCamp locally on ubuntu. npm run seed error