thirdweb-dev / js

Best in class web3 SDKs for Browser, Node and Mobile apps
https://thirdweb.com
Apache License 2.0
430 stars 328 forks source link

CLI installation with node LTS 20.10.0 #2017

Closed ghidalg0 closed 6 months ago

ghidalg0 commented 10 months ago

Hi Team,

First of all I love the work you are doing ☀️💻

I encountered a strange issue last night : I couldn't install the CLI on my computer with node 20.10.0 and had to download a 18.x.x version of it to be able to install the CLI.

All the best, Guilhem

joaquim-verges commented 9 months ago

@ghidalg0 thanks for reporting this - we're investigating the issue and will update here soon. cc @jnsdls

Rajatchaurasia1 commented 8 months ago

any update ?

HydraPhyzer commented 7 months ago

any update ?

Hey @Rajatchaurasia1 . I Hope You Are Doing Great. Talking about Update, I Think They Haven't Resolved This Issue Yet. Couple of Days Ago, I Had to Face Same Issues. Thirdweb CLI Was Causing Installation and Contract Deployment Issues On Node JS Version 20.11.0

jnsdls commented 6 months ago

hey @ghidalg0 @Rajatchaurasia1 and @HydraPhyzer, it seems to be working as expected using for me, can you still reproduce this issue?

node --version
v20.7.0
npx thirdweb@latest
Need to install the following packages:
thirdweb@0.13.52
Ok to proceed? (y) y
npm WARN deprecated zksync-web3@0.14.4: This package has been deprecated in favor of zksync-ethers@5.0.0

    $$\     $$\       $$\                 $$\                         $$\       
    $$ |    $$ |      \__|                $$ |                        $$ |      
  $$$$$$\   $$$$$$$\  $$\  $$$$$$\   $$$$$$$ |$$\  $$\  $$\  $$$$$$\  $$$$$$$\  
  \_$$  _|  $$  __$$\ $$ |$$  __$$\ $$  __$$ |$$ | $$ | $$ |$$  __$$\ $$  __$$\ 
    $$ |    $$ |  $$ |$$ |$$ |  \__|$$ /  $$ |$$ | $$ | $$ |$$$$$$$$ |$$ |  $$ |
    $$ |$$\ $$ |  $$ |$$ |$$ |      $$ |  $$ |$$ | $$ | $$ |$$   ____|$$ |  $$ |
    \$$$$  |$$ |  $$ |$$ |$$ |      \$$$$$$$ |\$$$$$\$$$$  |\$$$$$$$\ $$$$$$$  |
     \____/ \__|  \__|\__|\__|       \_______| \_____\____/  \_______|\_______/ 

 💎 thirdweb v0.13.52 💎

Usage: thirdweb [options] [command]

Official thirdweb command line interface

Options:
  -v, --version                                 output the version number
  --skip-update-check                           Skip check for auto updates
  -h, --help                                    display help for command

Commands:
  install [options] [projectPath]               Install thirdweb into your project. If no path is specified, the current directory will be used.
  create [options] [projectType] [projectPath]  Create a web3 app from any of our official templates: https://github.com/thirdweb-example/
  build [options]                               Compile contract and detect thirdweb contract extensions
  deploy [options]                              Securely deploy your contract to any EVM network without having to deal with scripts, private keys, or ABIs
  publish [options]                             Get a shareable page for your contract with a README, changelog, and version control. Enable one-click deploys to any EVM network
  upload [options] [upload]                     Upload any file or directory to decentralized storage (IPFS)
  detect [options]                              Detect the type of project your are running and let you know what it is.
  generate [options]                            Preload ABIs and generate types for your smart contract to strongly type the thirdweb SDK
  login                                         Authorize your device to use the thirdweb CLI by authenticating with your wallet from our dashboard
  logout                                        Logout of the thirdweb CLI
  help [command]                                display help for command
jnsdls commented 6 months ago

assuming fixed, if not please feel free to re-ppen