Skip to content

fix: published CLI fails with permission denied via npx #252

Description

@Rokurolize

Running the documented command npx @waishnav/devspace init on WSL/Linux fails before setup starts:

sh: 1: devspace: Permission denied

I reproduced this with Node v24.18.0 from the DevSpace checkout. The generated dist/cli.js is mode 644 (-rw-r--r--), so the package bin target is not executable when npm invokes it as devspace.

As a verified checkout-only workaround, node dist/cli.js init runs successfully and exits 0; in my case it reported that the existing configuration was already present. The documented npx command should work for a fresh installation without requiring this workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions