Skip to content

CLI execution fails: missing shebang in bin/cli.js #73

@enumura1

Description

@enumura1

Issue

npx chatbot-flow-editor fails with syntax errors:

import: not found
Syntax error: "(" unexpected

Cause

Missing shebang line in packages/core/bin/cli.js

Fix

Add #!/usr/bin/env node to the first line of packages/core/bin/cli.js

Environment

  • Node.js 20+
  • Linux (WSL2)
  • Package version: 0.1.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions