Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
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 docs/content/setup-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Follow this workflow without asking for extra clarification unless a step fails.
- Use the `stack-auth` MCP server.
- Call the tool or run the command:
```bash
STACK_DISABLE_INTERACTIVE=1 npx @stackframe/init-stack@latest
npx @stackframe/init-stack@latest --on-question error
```
- Accept defaults for Next.js (App Router).
- Add all generated files to the repo.
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/getting-started/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ We recommend using our **setup wizard** for a seamless installation experience.
First, install Stack with npm, yarn, or pnpm:

```bash title="Terminal"
npm install @stackframe/stack
npm install @stackframe/stack --on-question error
```
Comment on lines 70 to 72
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Remove --on-question from the npm command.

--on-question is a flag on @stackframe/init-stack, not on npm install. Including it makes the documented command fail immediately in shell (“unknown option: --on-question”), so readers can’t install the package. Please drop the flag here (or add it to the intended npx @stackframe/init-stack command instead).

-      npm install @stackframe/stack --on-question error
+      npm install @stackframe/stack
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
```bash title="Terminal"
npm install @stackframe/stack
npm install @stackframe/stack --on-question error
```
🤖 Prompt for AI Agents
In docs/templates/getting-started/setup.mdx around lines 70 to 72, the npm
install command incorrectly includes the --on-question flag (which belongs to
@stackframe/init-stack, not npm) causing the command to fail; remove the
--on-question token from the npm install line so it reads simply npm install
@stackframe/stack, and if the flag is needed for interactive initialization, add
it to the intended npx @stackframe/init-stack invocation instead.


<Step>
Expand Down
Loading