CCGE-BOADICEA / pedigreejs

A web tool for building pedigrees, https://ccge-boadicea.github.io/pedigreejs/
GNU General Public License v3.0
59 stars 42 forks source link

Having troubles with "npm install" and "npm run build" #138

Closed GenSplice-Research-Development closed 2 years ago

GenSplice-Research-Development commented 2 years ago

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 details

found 2 moderate severity vulnerabilities run npm audit fix to fix them, or npm audit for details

PS C:\users\hp\human genetics\pedigreejs-master> npm run build

pedigreejs@2.1.0-rc3 build C:\users\hp\human genetics\pedigreejs-master rollup -c

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

tcarver commented 2 years ago

This looks like they are still building the bundle:

created build/pedigreejs.2.1.0-rc3.js, build/pedigreejs.2.1.0-rc3.min.js

The problems are eslint complaining and can be ignored.