LivelyKernel / LivelyKernel/lively.next

Non-lethal error log on start.sh

Open
#1,505 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

📟 support inquiry
Dominant language
JavaScript
Stars
90
Forks
20
PR merge metrics
No merged PRs in 30d

Description

This isn't a standard Support Inquiry, but I am seeing this error when running start.sh:
```
2024-05-05T02:17:18.861Z info: [lively.modules package] Unable loading package config file:///home/rick/lively.next/local_projects/custom-npm-modules/package.json for package: [ENOENT: no such file or directory, open '/home/rick/lively.next/local_projects/custom-npm-modules/package.json'
Instantiating /home/rick/lively.next/local_projects/custom-npm-modules/package.json
Loading /home/rick/lively.next/local_projects/custom-npm-modules/package.json
Error: ENOENT: no such file or directory, open '/home/rick/lively.next/local_projects/custom-npm-modules/package.json'] {
originalErr: [Error: ENOENT: no such file or directory, open '/home/rick/lively.next/local_projects/custom-npm-modules/package.json'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/home/rick/lively.next/local_projects/custom-npm-modules/package.json'
}
}
2024-05-05T02:17:18.887Z info: [lively.modules package] Unable loading package config file:///home/rick/lively.next/local_projects/lively.next-node_modules/package.json for package: [ENOENT: no such file or directory, open '/home/rick/lively.next/local_projects/lively.next-node_modules/package.json'
Instantiating /home/rick/lively.next/local_projects/lively.next-node_modules/package.json
Loading /home/rick/lively.next/local_projects/lively.next-node_modules/package.json
Error: ENOENT: no such file or directory, open '/home/rick/lively.next/local_projects/lively.next-node_modules/package.json'] {
originalErr: [Error: ENOENT: no such file or directory, open '/home/rick/lively.next/local_projects/lively.next-node_modules/package.json'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/home/rick/lively.next/local_projects/lively.next-node_modules/package.json'
}
}
```

**Version**: Please paste the lively.next commit on which the problem occurred here (use the copy button of the Version Checker in the bottom left corner).
97874fc6b9ca2be74bda64de4c9a687d3e8d4f8f

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the report by running start.sh and inspect how it handles the missing package.json files under local_projects/custom-npm-modules and local_projects/lively.next-node_modules. Determine whether these paths are expected during startup, then verify that startup logs no misleading error for an expected absence while still reporting real failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, shell
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.