holochain / syn

Generalized Holochain DNA and UI library for building real-time shared state hApps
Other
90 stars 11 forks source link

Fails at "npm install" #31

Open novocodev opened 2 years ago

novocodev commented 2 years ago

I am trying to run the demo

I have successfully run nix-shell in the syn root folder, I have logged out and back in and run nix-shell again.

When I run "nom install" I get the following errors, any ideas what I need to do to fix these?

[nix-shell:~/syn]$ npm install npm WARN deprecated @whi/http_utils@0.1.0: WARNING: this package has been renamed to @whi/http. Use @whi/http to install newer versions. npm WARN deprecated object-keys@0.2.0: Please update to the latest object-keys npm WARN deprecated circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410 npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. npm ERR! code 2 npm ERR! git dep preparation failed npm ERR! command /nix/store/p6h1iz5lcvfz1hg1z497ypa22rv52xxx-nodejs-16.8.0/bin/node /nix/store/p6h1iz5lcvfz1hg1z497ypa22rv52xxx-nodejs-16.8.0/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/ubuntu/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run npm ERR! > @holochain/tryorama@0.4.3 prepare npm ERR! > npm run build npm ERR! npm ERR! npm ERR! > @holochain/tryorama@0.4.3 build npm ERR! > rm -rf ./lib ; tsc -d npm ERR! npm ERR! src/cell.ts(1,18): error TS2305: Module '"../node_modules/@holochain/conductor-api/lib"' has no exported member 'CellNick'. npm ERR! src/conductor.ts(10,3): error TS2305: Module '"../node_modules/@holochain/conductor-api/lib"' has no exported member 'CellNick'. npm ERR! src/conductor.ts(279,7): error TS2322: Type '{ hash: Buffer; nick: string; }[]' is not assignable to type 'InstallAppDnaPayload[]'. npm ERR! Property 'role_id' is missing in type '{ hash: Buffer; nick: string; }' but required in type 'InstallAppDnaPayload'. npm ERR! src/conductor.ts(326,48): error TS2339: Property 'cell_nick' does not exist on type 'InstalledCell'. npm ERR! src/player.ts(8,35): error TS2305: Module '"../node_modules/@holochain/conductor-api/lib"' has no exported member 'CellNick'. npm ERR! npm WARN using --force Recommended protections disabled. npm ERR! npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410 npm ERR! npm WARN deprecated @holochain/conductor-api@0.2.4: Use @holochain/client instead npm ERR! npm WARN deprecated highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest npm ERR! npm WARN using --force Recommended protections disabled. npm ERR! npm ERR! code 2 npm ERR! npm ERR! path /home/ubuntu/.npm/_cacache/tmp/git-clone-4b353882 npm ERR! npm ERR! command failed npm ERR! npm ERR! command sh -c npm run build npm ERR! npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! npm ERR! /home/ubuntu/.npm/_logs/2022-01-25T12_42_27_343Z-debug.log

npm ERR! A complete log of this run can be found in: npm ERR! /home/ubuntu/.npm/_logs/2022-01-25T12_43_08_835Z-debug.log