adafruit / adafruit/nprone-cli
Not running at starttup
- Dominant language
- JavaScript
- Stars
- 56
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Everything's working great when manually run with `$ npr-one` but after using `$ pm2 start npr-one && pm2 save` the errors shown by `$ pm2 logs npr-one` lead to:
```
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
^
SyntaxError: Unexpected token [
```
Not sure why the bracket is acceptable when I run it but a syntax error through pm2.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the npr-one entry point and compare its manual invocation with the `pm2 start npr-one && pm2 save` flow. Inspect the errors from `pm2 logs npr-one`; done when the saved startup process launches without the reported JavaScript syntax error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100