Skip to content

[BUG and FIX] Unable to execute tools from Debian Linux #116

Description

@aquavark

Describe the bug
New install to Netbeans 23, installed and downloaded the custom files but was then unable to execute them

To Reproduce

  1. Install from Github downloaded .nbm using Netbeans 23

Expected behavior
Able to perform minimisation

Environment (please complete the following information):

  • OS: Debian Bookworm, up to date
  • NetBeans version: 23

Reason and solution

When trying to minimise, Netbeans returned an error saying File not found

  • Updated permissions to include +x (execute) on relevant scripts

Running the scripts directly then showed eg
bash: ./postcss: cannot execute: required file not found

A Google search indicated that this is an issue when bash script files have CRLF line endings instead of just CR

The solution is to run dos2unix on the three relevant scripts

dos2unix minifyxml
dos2unix google-closure-compiler
dos2unix postcss

Then able to minimise successfully.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions