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

Installation failure #174

Open
HadiEsna opened this issue Nov 13, 2021 · 3 comments
Open

Installation failure #174

HadiEsna opened this issue Nov 13, 2021 · 3 comments
Labels
question Further information is requested

Comments

@HadiEsna
Copy link

Hi
This repo is just what I need.
But when I tried to follow the instructions I got this error at the beginning.

% yarn create eth-app my-eth-app
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed
➤ YN0000: Done in 0s 50ms


Creating a new Ethereum-powered React app in /Users/hadiesna/source/dex/create-eth-app/my-eth-app.

Downloading template files. This might take a moment.

Installing packages. This might take a couple of minutes.

Usage Error: The nearest package directory (/Users/hadiesna/source/dex/create-eth-app/my-eth-app) doesn't seem to be part of the project declared in /Users/hadiesna/source/dex.

- If the project directory is right, it might be that you forgot to list create-eth-app/my-eth-app as a workspace.
- If it isn't, it's likely because you have a yarn.lock or package.json file there, confusing the project root detection.

$ yarn install [--json] [--immutable] [--immutable-cache] [--check-cache] [--inline-builds] [--mode #0]

Aborting installation.
  yarnpkg install --cwd /Users/hadiesna/source/dex/create-eth-app/my-eth-app has failed.
@PaulRBerg
Copy link
Collaborator

Hi @HadiEsna! It looks like you have another node.js project defined in "source/dex".

Does it work if you run CEA in a different folder?

@PaulRBerg
Copy link
Collaborator

It could also be a duplicate of #168.

@PaulRBerg PaulRBerg added the question Further information is requested label Nov 17, 2021
@suyonglai
Copy link

suyonglai commented Jan 5, 2022

Me to,same question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants