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

Getting TypeError: stream.destroy is not a function when installing create-eth-app #216

Closed
amitblockchaindev opened this issue Oct 20, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@amitblockchaindev
Copy link

I am on Windows 10.
Installed yarn globally, created a folder called createethapp
Opened it in VSCode.
Opened VSCode terminal (powershell) and entered the command

createethapp> yarn create eth-app my-eth-app
yarn create v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...

success Installed "[email protected]" with binaries:
      - create-eth-app

Creating a new Ethereum-powered React app in D:\Knowledge\Blockchain\Projects_Solidity\createethapp\my-eth-app.

Downloading template files. This might take a moment.


Aborting installation.
Unexpected error. Please report it as a bug:
TypeError: stream.destroy is not a function
    at C:\Users\MYUSERNAME.COMPANY\AppData\Local\Yarn\Data\global\node_modules\create-eth-app\dist\index.js:32416:18
    at Array.forEach (<anonymous>)
    at C:\Users\MYUSERNAME.COMPANY\AppData\Local\Yarn\Data\global\node_modules\create-eth-app\dist\index.js:32414:18
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Promise.all (index 0)

error Command failed.
Exit code: 1
Command: C:\Users\MYUSERNAME.COMPANY\AppData\Local\Yarn\bin\create-eth-app
Arguments: my-eth-app
Directory: D:\Knowledge\Blockchain\Projects_Solidity\createethapp
Output:

info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.

What do I need to do.

@PaulRBerg
Copy link
Collaborator

Hi! Thanks for opening the issue. I'm afraid that this is a known issue: #149.

What version of Node.js are you using?

@PaulRBerg PaulRBerg closed this as not planned Won't fix, can't repro, duplicate, stale Oct 23, 2022
@PaulRBerg PaulRBerg added the duplicate This issue or pull request already exists label Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants