Getting TypeError: stream.destroy is not a function when installing create-eth-app
amitblockchaindev opened this issue · comments
amitblockchaindev commented
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 "create-eth-app@1.8.2" 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.
Paul Razvan Berg commented
Hi! Thanks for opening the issue. I'm afraid that this is a known issue: #149.
What version of Node.js are you using?