C:\users\hp\human genetics\pedigreejs-master\es\index.js
4:10 error Parsing error: Unexpected token as
✖ 1 problem (1 error, 0 warnings)
C:\users\hp\human genetics\pedigreejs-master\es\pedigree.js
640:3 error 'templates' is not defined no-undef
✖ 1 problem (1 error, 0 warnings)
C:\users\hp\human genetics\pedigreejs-master\es\io.js
329:6 error 'acc_FamHist_ticked' is not defined no-undef
330:6 error 'acc_FamHist_Leave' is not defined no-undef
331:6 error 'RESULT' is not defined no-undef
PS C:\users\hp\human genetics\pedigreejs-master> npm install npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules\rollup\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN pedigreejs@2.1.0-rc3 scripts['server'] should probably be scripts['start'].
added 405 packages from 242 contributors and audited 406 packages in 119.004s
38 packages are looking for funding run
npm fund
for detailsfound 2 moderate severity vulnerabilities run
npm audit fix
to fix them, ornpm audit
for detailsPS C:\users\hp\human genetics\pedigreejs-master> npm run build
es/index.js → build/pedigreejs.2.1.0-rc3.js, build/pedigreejs.2.1.0-rc3.min.js...
C:\users\hp\human genetics\pedigreejs-master\es\index.js 4:10 error Parsing error: Unexpected token as
✖ 1 problem (1 error, 0 warnings)
C:\users\hp\human genetics\pedigreejs-master\es\pedigree.js 640:3 error 'templates' is not defined no-undef
✖ 1 problem (1 error, 0 warnings)
C:\users\hp\human genetics\pedigreejs-master\es\io.js 329:6 error 'acc_FamHist_ticked' is not defined no-undef 330:6 error 'acc_FamHist_Leave' is not defined no-undef 331:6 error 'RESULT' is not defined no-undef
✖ 3 problems (3 errors, 0 warnings)
(!) Circular dependencies es\pedigree.js -> es\pedigree_utils.js -> es\pedigree.js es\pedigree.js -> es\pbuttons.js -> es\pedigree.js es\pedigree.js -> es\io.js -> es\pedigree.js es\pedigree.js -> es\widgets.js -> es\pedigree.js es\pedigree.js -> es\widgets.js -> es\pedigree_form.js -> es\pedigree.js created build/pedigreejs.2.1.0-rc3.js, build/pedigreejs.2.1.0-rc3.min.js in 17.9s