bitcoin-computer / monorepo

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

Explorer: start script doesn't work on macos #189

Open steebchen opened 3 months ago

steebchen commented 3 months ago

Fresh clone, npm i in the root, and then running npm start dev in packages/explorer lead to this:

 ~/projects/bitcoin-computer/packages/explorer | on main !1 ------------------------------------------------------- at 00:06:40 
> npm run start     

> @bitcoin-computer/explorer@0.18.0-beta.0 start
> PORT=1032 react-scripts start

validateOptions is not a function
npm ERR! Lifecycle script `start` failed with error: 
npm ERR! Error: command failed 
npm ERR!   in workspace: @bitcoin-computer/explorer@0.18.0-beta.0 

on MacOS node v20.10.0 npm 10.2.3

ClemensLey commented 3 months ago

Thanks for reporting this. We are investigating...

ClemensLey commented 3 months ago

The problem is with the package-lock.json file in the root level. For now the recommendation is to delete that file and to then run npm install. Next week well upload a new version with a fix.