Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails at "npm install" #31

Open
novocodev opened this issue Jan 25, 2022 · 0 comments
Open

Fails at "npm install" #31

novocodev opened this issue Jan 25, 2022 · 0 comments

Comments

@novocodev
Copy link

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/[email protected]: WARNING: this package has been renamed to @whi/http. Use @whi/http to install newer versions.
npm WARN deprecated [email protected]: Please update to the latest object-keys
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated [email protected]: 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 [email protected]: Critical security vulnerability fixed in v0.21.1. For more information, see axios/axios#3410
npm WARN deprecated [email protected]: 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/[email protected] prepare
npm ERR! > npm run build
npm ERR!
npm ERR!
npm ERR! > @holochain/[email protected] 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 [email protected]: Critical security vulnerability fixed in v0.21.1. For more information, see axios/axios#3410
npm ERR! npm WARN deprecated @holochain/[email protected]: Use @holochain/client instead
npm ERR! npm WARN deprecated [email protected]: 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant