Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion community-addon-template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ npm start

## Sharing your add-on

When you're ready to publish your add-on to NPM, run:
When you're ready to publish your add-on to npm, run:

```shell
npm publish
Expand Down
10 changes: 5 additions & 5 deletions documentation/docs/10-introduction/20-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ title: Frequently asked questions

## How do I run the `sv` CLI?

Running the `sv` cli differs for each package manager. Here is a list of the most common commands:
Running `sv` looks slightly different for each package manager. Here is a list of the most common commands:

- **NPM** : `npx sv create`
- **PNPM** : `pnpx sv create` or `pnpm dlx sv create`
- **Yarn** : `yarn dlx sv create`
- **npm** : `npx sv create`
- **pnpm** : `pnpx sv create` or `pnpm dlx sv create`
- **Bun** : `bunx sv create`
- **Deno** : `deno run npm:sv create`
- **Yarn** : `yarn dlx sv create`

## `npx sv` is not working

Some package mangers prefer to run locally installed tools instead of downloading and executing packages from the registry. This issue mostly occurs with `npm` and `yarn`. This usually results in an error message or looks like the command you were trying to execute did not do anything.
Some package managers prefer to run locally installed tools instead of downloading and executing packages from the registry. This issue mostly occurs with `npm` and `yarn`. This usually results in an error message or looks like the command you were trying to execute did not do anything.

Here is a list of issues with possible solutions that users have encountered in the past:

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/commands/add/fetch-packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export async function getPackageJSON({ cwd, packageName }: GetPackageJSONOptions

return {
pkg,
// fallback to providing the NPM package URL
// fallback to providing the npm package URL
repo: pkg.repository?.url ?? `https://www.npmjs.com/package/${npm}`
};
}
Expand Down