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

Module not found #1

Open
santisiri opened this issue Sep 6, 2019 · 3 comments
Open

Module not found #1

santisiri opened this issue Sep 6, 2019 · 3 comments

Comments

@santisiri
Copy link

After installing dependencies on local-wallet with both npm and yarn I get this after yarn start:

Module not found: Can't resolve 'base64url' in '/Users/username/Ethereum/code/burner-wallet-2/plugins/src/legacy/ui'
@dmihal
Copy link
Collaborator

dmihal commented Sep 28, 2019

Hey @santisiri! The problem is that local-wallet depends on other packages in this repo.

You can run yarn run install-all in local-wallet to install all packages.

dmihal pushed a commit that referenced this issue Oct 15, 2019
dmihal pushed a commit that referenced this issue Oct 15, 2019
dmihal pushed a commit that referenced this issue Oct 15, 2019
@DavidBurela
Copy link
Contributor

DavidBurela commented Feb 5, 2020

@dmihal I think this has arisen as a new error again.
Looking at the commit history, it seems that install-all was removed 2 months ago in this commit: 35d7c70

Steps:
Cloned git repo
in the root project folder I ran

yarn install
yarn run install
yarn run start-local

it errors when trying to compile the .tsx files

Cannot find module '@burner-wallet/ui-core'
Module not found: Can't resolve '@burner-wallet/legacy-plugin' in '/home/david/burner-wallet-2/local-wallet/src'
etc

running yarn run install-all in the /local-wallet folder, results in a command not found error (as it has been removed).

@DavidBurela
Copy link
Contributor

DavidBurela commented Feb 6, 2020

Resolved it.
You need to manually trigger yarn run build in the root directory. This will build all of the dependencies.

I created a PR for this #17

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

3 participants