create-solana-dapp icon indicating copy to clipboard operation
create-solana-dapp copied to clipboard

no folders get added

Open thekesslereffect opened this issue 2 months ago • 7 comments

image any idea what to do? This is the only thing that shows up when I run: npx create-solana-dapp@latest I tried npm i and it still doesnt populate with folders.

thekesslereffect avatar Apr 28 '24 05:04 thekesslereffect

Could you post the full output from the terminal that you get after running it? Also could you share your Node and NPM version?

beeman avatar Apr 28 '24 13:04 beeman

PS C:\Users\PootDev\Documents\GitHub\solana> npm --version
10.6.0

PS C:\Users\PootDev\Documents\GitHub\solana> node --version
v20.12.2

PS C:\Users\PootDev\Documents\GitHub\solana> npx create-solana-dapp@latest

> npx
> create-solana-dapp

┌  create-solana-dapp 2.2.0
│
◇  Enter project name
│  poot-solana-dapp
│
◇  Select a preset
│  Next.js
│
◇  Select a UI library
│  Tailwind
│
◇  Select an Anchor template
│  Anchor Counter program with tests
│
◆  Anchor program name: poot-solana-dapp
│
◇  Successfully created workspace with npm.

Nothing showed up so I tried:

PS C:\Users\PootDev\Documents\GitHub\solana> cd poot-solana-dapp

PS C:\Users\PootDev\Documents\GitHub\solana\poot-solana-dapp> npm i

added 20 packages, removed 5 packages, changed 4 packages, and audited 1008 packages in 12s

138 packages are looking for funding
  run `npm fund` for details        

found 0 vulnerabilities

But still nothing

thekesslereffect avatar Apr 28 '24 21:04 thekesslereffect

Can you give it a try using WSL?

beeman avatar Apr 28 '24 23:04 beeman

ah that was the issue. I just tried it on my Macbook and it installs.

thekesslereffect avatar Apr 29 '24 01:04 thekesslereffect

Perfect, good to hear that. I will see if we can add instructions or detection for this.

beeman avatar Apr 29 '24 11:04 beeman

Same problem after installing WSL and running in WSL :/

ow1337 avatar May 02 '24 01:05 ow1337

@thekesslereffect @ow1337 I just published a new version of the CLI, could you test to see if this changes how it works?

Instructions can be found in my announcement tweet.

beeman avatar May 09 '24 12:05 beeman