solana-developers / create-solana-dapp

CLI for creating Solana dApps on the fly
https://npmjs.com/package/create-solana-dapp
MIT License
363 stars 108 forks source link

Nothing installs? #57

Closed thekesslereffect closed 7 months ago

thekesslereffect commented 7 months ago

I ran the install command but the web and anchor folders never show up.

beeman commented 7 months ago

I ran the install command but the web and anchor folders never show up.

Hi there! Sorry to hear you're having issues.

Could you share some more info of what command you ran and what the output was?

I just ran the it locally and here it works as expected:

time pnpx create-solana-dapp app-"$(date +%s)" -p next --anchor 'counter' --ui tailwind     
Packages: +135
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 144, reused 132, downloaded 3, added 135, done
../../Users/beeman/Library/pnpm/store/v3/tmp/dlx-13666/node_modules/.pnpm/nx@17.2.7/node_modules/nx: Running postinstal
../../Users/beeman/Library/pnpm/store/v3/tmp/dlx-13666/node_modules/.pnpm/nx@17.2.7/node_modules/nx: Running postinstall script, done in 550ms
┌  create-solana-dapp 2.2.0
│
◆  Project name: app-1713268064
│
◆  Preset: Next.js
│
◆  UI library: Tailwind
│
◆  Anchor template: Anchor Counter program with tests
│
◆  Anchor program name: app-1713268064
│
◇  Successfully created workspace with pnpm.
│
◇  Successfully installed preset @solana-developers/preset-next@2.2.0.
│
◇  Installation successful! ────────────────────────────╮
│                                                       │
│  That's it!                                           │
│                                                       │
│  Change to your new directory and start developing:   │
│                                                       │
│  cd ./app-1713268064                                  │
│                                                       │
│  Start the Next.js app:                               │
│                                                       │
│  pnpm run dev                                         │
│                                                       │
│  Run Anchor commands:                                 │
│                                                       │
│  pnpm run anchor build | test | localnet | deploy     │
│                                                       │
│  Generate more features using the following command:  │
│                                                       │
│  pnpm run feature                                     │
│                                                       │
├───────────────────────────────────────────────────────╯
│
└  Good luck with your project!

Feel free to post more info below, going to close this for now.