Skip to content

Commit 3b0cdf5

Browse files
katspaughclaude
andcommitted
fix: update StackBlitz start command to avoid shebang error
Use npm link instead of node dist/index.js to properly install the CLI in the WebContainer environment. This avoids the shebang parsing error and makes the 'safe' command available globally in the terminal. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 8516434 commit 3b0cdf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.stackblitzrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"installDependencies": true,
3-
"startCommand": "npm run build && npm start",
3+
"startCommand": "npm run build && npm link && echo '\nSafe CLI is ready! Try running: safe --help\n'",
44
"env": {
55
"NODE_ENV": "development"
66
},

0 commit comments

Comments
 (0)