Skip to content
This repository was archived by the owner on Jun 11, 2022. It is now read-only.
This repository was archived by the owner on Jun 11, 2022. It is now read-only.

/usr/bin/jq: Permission denied [dokku] #181

Open
@tomjohnhall

Description

@tomjohnhall

Hi! Thank you so much for this helpful buildpack. Up until very recently (last push maybe a month ago?) I've used it on multiple projects without issue, but I now get this permission / no such file error when deploying via dokku.

-----> Fetching custom buildpack
-----> React.js (create-react-app) multi app detected
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-multi.git
=====> Detected Framework: Multipack
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git
=====> Detected Framework: Node.js
remote: /tmp/buildpacky6j7X/lib/json.sh: line 5: /usr/bin/jq: Permission denied
remote: /tmp/buildpacky6j7X/lib/json.sh: line 52: /usr/bin/jq: No such file or directory
remote:  !     Unable to parse package.json
       
       
-----> Build failed
       
       We're sorry this build is failing! You can troubleshoot common issues here:
       https://devcenter.heroku.com/articles/troubleshooting-node-deploys
       
       If you're stuck, please submit a ticket so we can help:
       https://help.heroku.com/
       
       Love,
       Heroku

I appreciate this is a heroku buldpack and isn't designed for dokku, but if there's a simple workaround for this issue, would be extremely helpful!

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