adafruit / adafruit/nprone-cli

not working on startup

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
56
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Current tutorial and hardware leads to a device that only plays if manually started over ssh.

PM2 reports the following error during installation:
"""
path.js:1144
cwd = process.cwd();
^

Error: ENOENT: no such file or directory, uv_cwd
at Error (native)
at Object.resolve (path.js:1144:25)
at startup (node.js:116:32)
at node.js:456:3
"""

Manually starting app via ssh section works, but pm2 simply keeps booting the app with 1-4 seconds of uptime before failure.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the current tutorial and hardware setup, then compare the manual SSH startup section with the PM2 installation and boot flow. Investigate the reported ENOENT uv_cwd failure and verify that the device starts the app automatically and keeps it running without SSH.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.