ChainSafe / ChainSafe/chainbridge-ui

Module not found: Can't resolve '@chainsafe/chainbridge-ui-core' in 'D:\chainbridge-ui\packages\example\src'

Open
#289 2 comments 0 reactions 1 assignee Claimed by @wainola View on GitHub
Dominant language
TypeScript
Stars
26
Forks
81
PR merge metrics
No merged PRs in 30d

Description

While trying to run the UI I encounter the following error:
```
D:\chainbridge-ui>yarn start:ui
yarn run v1.22.18
$ yarn wsrun -p @chainsafe/chainbridge-ui -c start
$ D:\chainbridge-ui\node_modules\.bin\wsrun -p @chainsafe/chainbridge-ui -c start
@chainsafe/chainbridge-ui
$ yarn setup:copy-dev-config && craco --max_old_space_size=4096 start
$ ./scripts/copy-dev-config.sh
| i 「wds」: Project is running at https://192.168.1.3/
| i 「wds」: webpack output is served from
| i 「wds」: Content not from webpack is served from D:\chainbridge-ui\packages\example\public
| i 「wds」: 404s will fallback to /
| Starting the development server...
|
| Failed to compile.
|
| ./src/App.tsx
| Module not found: Can't resolve '@chainsafe/chainbridge-ui-core' in 'D:\chainbridge-ui\packages\example\src'
| Error from chokidar (D:\): Error: EBUSY: resource busy or locked, lstat 'D:\DumpStack.log.tmp'
```
I've tried using yarn start:ui yarn start:basic. Tried moving into packages/example and running yarn install there and yarn start, same error occures. I mainly see the error in App.tsx on those imports
```
import {
ChainbridgeProvider,
NetworkManagerProvider,
LocalProvider,
} from "@chainsafe/chainbridge-ui-core";
```

## Steps to Reproduce (for bugs)
1. Clean clone of repo
2. run yarn install
3. run yarn start:ui, yarn start:basic

## Versions
I've tried different versions of node, lowest that passes yarn install succesfully is 14.17.0, 16.15.0 and 16.17.1
Tried on Windows 10 and OSX.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.