bitcoin-computer / monorepo

A Turing-complete smart contract system for Bitcoin and Litecoin
https://docs.bitcoincomputer.io/
29 stars 18 forks source link

install command is DEPRECATED #272

Closed techcto closed 2 months ago

techcto commented 2 months ago

Hi all -- I am trying to install your app and guessing. When I run this I get an error. -- Is there a doc to run this locally and connect to existing litecoin/bitcoin node?

npm run prepare

bitcoin-computer@0.21.0-beta.0 prepare husky install

install command is DEPRECATED

Am i missing something?

techcto commented 2 months ago

Apologies -- while I got that error -- I missed this step: cd packages/cra-template

I tried that I got this error -- maybe on my end so will test further

$ npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: react-scripts@5.0.1 npm ERR! Found: typescript@5.3.3 npm ERR! node_modules/typescript npm ERR! dev typescript@"~5.3.3" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peerOptional typescript@"^3.2.1 || ^4" from react-scripts@5.0.1 npm ERR! node_modules/react-scripts npm ERR! react-scripts@"5.0.1" from the root project npm ERR! npm ERR! Conflicting peer dependency: typescript@4.9.5 npm ERR! node_modules/typescript npm ERR! peerOptional typescript@"^3.2.1 || ^4" from react-scripts@5.0.1 npm ERR! node_modules/react-scripts npm ERR! react-scripts@"5.0.1" from the root project

techcto commented 2 months ago

Ok -- I was on Windows Gitbash and had to switch to WSL/Ubuntu. Everything built and is running. Just a few npm packages need updating. `install command is DEPRECATED

added 2697 packages, and audited 2715 packages in 40s

334 packages are looking for funding run npm fund for details

32 vulnerabilities (2 low, 13 moderate, 16 high, 1 critical)`