create-eth-app icon indicating copy to clipboard operation
create-eth-app copied to clipboard

Installation failure

Open HadiEsna opened this issue 4 years ago • 3 comments

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.

HadiEsna avatar Nov 13 '21 11:11 HadiEsna

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 avatar Nov 13 '21 11:11 PaulRBerg

It could also be a duplicate of https://github.com/paulrberg/create-eth-app/issues/168.

PaulRBerg avatar Nov 14 '21 10:11 PaulRBerg

Me to,same question.

suyonglai avatar Jan 05 '22 02:01 suyonglai