balancednetwork / balanced-network-interface

An open-source interface for the Balanced Network protocol (https://balanced.network)
https://app.balanced.network/
23 stars 22 forks source link

cant run the interface locally after following the install instructions #1424

Closed FidelVe closed 1 day ago

FidelVe commented 3 months ago

Good morning team.

Im trying to run the interface locally but im running into many errors. This is what I did:

$ yarn ...


* ran instead `pnpm install` successfully 
* tried running `pnpm run dev` and got the following errors:

[plugin:vite:import-analysis] Failed to resolve entry for package "@balancednetwork/sdk-core". The package may have incorrect main/module/exports specified in its package.json.

FezBox commented 2 months ago

@0xmilktea @hetfly can you please respond

hetfly commented 2 months ago

Hello @FidelVe

  1. set your working directory to the balanced interface repo root and run

    pnpm run build
    pnpm run dev
  2. if that doesn't help, do this

    pnpm clean
    pnpm install
    pnpm run build
    pnpm run dev
  3. if it's still not working, make sure you have these package versions

    node v20.15.1
    pnpm v9.5.0
    typescript v4.5.2

    and repeat step 2

FidelVe commented 2 months ago

Hello @FidelVe

1. set your working directory to the balanced interface repo root and run
pnpm run build
pnpm run dev
2. if that doesn't help, do this
pnpm clean
pnpm install
pnpm run build
pnpm run dev
3. if it's still not working, make sure you have these package versions
node v20.15.1
pnpm v9.5.0
typescript v4.5.2

and repeat step 2

works perfectly, thanks.

The current instructions in the readme of the web app are outdated and dont work, we need to update it with these instructions then

FezBox commented 1 day ago

@FidelVe can this be closed?