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

no folders get added #61

Open
thekesslereffect opened this issue Apr 28, 2024 · 8 comments
Open

no folders get added #61

thekesslereffect opened this issue Apr 28, 2024 · 8 comments
Labels
bug Something isn't working example needed We need an example repo that shows the issue or new feature

Comments

@thekesslereffect
Copy link

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.

@beeman
Copy link
Collaborator

beeman commented Apr 28, 2024

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

@thekesslereffect
Copy link
Author

thekesslereffect commented Apr 28, 2024

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

@beeman
Copy link
Collaborator

beeman commented Apr 28, 2024

Can you give it a try using WSL?

@thekesslereffect
Copy link
Author

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

@beeman
Copy link
Collaborator

beeman commented Apr 29, 2024

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

@beeman beeman closed this as completed Apr 29, 2024
@ow1337
Copy link

ow1337 commented May 2, 2024

Same problem after installing WSL and running in WSL :/

@beeman
Copy link
Collaborator

beeman commented May 9, 2024

@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 beeman reopened this May 9, 2024
@beeman beeman added bug Something isn't working example needed We need an example repo that shows the issue or new feature labels May 9, 2024
@m4thfr34k
Copy link

I ran into a similar issue. Ran the setup command and essentially got the nx workspace with nothing else.

npx create-solana-dapp@latest

Had to run the following, aftering cd'ing into the project folder:

npx nx@latest init
npx nx generate preset preset-next

That solved my issue. Then it was just a quick 'npx nx dev' and I was up and running.

OS: Windows 10 Pro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working example needed We need an example repo that shows the issue or new feature
Projects
None yet
Development

No branches or pull requests

4 participants