Skip to content

example-application-tutorial/overview: broken setup instructions (deprecated commands, wrong packages) #2341

Closed

Description

@kaankacar

BasicPay Overview Page: 5 Broken Setup Instructions

The Overview page of the BasicPay example application tutorial contains five broken or outdated instructions that will cause developers to fail during initial project setup.

Issues

1. npm create svelte@latest is deprecated

The tutorial instructs:

npm create svelte@latest my-basic-payment-app

create-svelte has been deprecated on npm. Running this command today outputs: "create-svelte has been deprecated - please use sv instead". The correct command is:

npx sv create my-basic-payment-app

2. stellar-sdk package is deprecated

The tutorial instructs:

npm install --save-dev stellar-sdk @stellar/wallet-sdk

stellar-sdk carries an npm deprecation warning: "⚠️ This package has moved to @stellar/stellar-sdk!". The correct package is @stellar/stellar-sdk.

3. @stellar/wallet-sdk is the wrong package

The same install command references @stellar/wallet-sdk (last updated Jan 2024, v0.11.2). The BasicPay repo uses @stellar/typescript-wallet-sdk-km (currently v2.0.0), which has a completely different API. Installing the wrong package will not error at install time but will cause runtime failures later in the Account Creation tutorial page.

4. npx tailwindcss init -p fails with Tailwind v4

The tutorial installs tailwindcss without pinning a version, then runs:

npx tailwindcss init -p

Tailwind CSS latest is now v4 (currently v4.2.2), which removed the init command entirely. The BasicPay repo itself pins to ^3.4.13. The tutorial should either pin to v3 (tailwindcss@^3) or update the configuration steps for v4.

5. Project requirements text references a non-existent package

The project requirements section states: "we're using the js-stellar-wallets SDK". This package does not exist on npm (returns 404) and links to an archived GitHub repo. The BasicPay repo uses @stellar/typescript-wallet-sdk-km for keypair/key management. The description text and its link reference should be updated accordingly.

Impact

A developer following the Overview tutorial from scratch today will encounter failures at:

  • The SvelteKit scaffolding step (issue 1)
  • The Tailwind config step (issue 4)
  • The Stellar dependency install step (issues 2 & 3)

Issue 5 causes confusion about which packages are actually in use.

Relevant File

docs/build/apps/example-application-tutorial/overview.mdx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

dev-reldocumentation

Type

No type

Projects

  • Status
    No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions