Skip to content

help: command checks for folder instead of running command #55

@tylerchilds

Description

@tylerchilds

Hello! First off- I love this project and I've been testing it across a vast array of hardware-- i'm mostly frontend usually and not super familiar with lower level backend systems and pup has been amazing at letting me keep my prototypes organized.

I'm currently running into an issue on a raspberry pi 4 that i've not experienced on any other hardware-- i know it works on rasperry pis, as I have other passing test units.

I'm using pup to start a mix of node and deno services, for example, my edge client i start with

deno run -A client.js

and i wrap that in my deno.json as

deno task start-client

which i configure for pup as

{
      "id": "plan98-start-client",
      "cmd": "deno task start-client",
      "autostart": true
}

and i'll start all currently active features with pup

the problem I'm facing seems to be in between pup and deno.

The error in the output is

[ERROR] [plan98-start-client]:stderr] error: Module not found "file:///home/tychi/.plan98/task"

I can run deno task start-client on device and get my web server on port 8000, but when pup seems run the deno task start-client command, it seems to look in the .plan98 folder (where i have the plan98 repository cloned) for a non-existent task folder instead of running the full start-client command from deno task.

My hunch is there's some command translation issue under the hood, but I'm not able to reproduce this bug on any other device.

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