LivelyKernel / lively.next

lively.next is a personal programming kit. It emphasizes liveness, directness, and interactivity.
https://lively-next.org
MIT License
69 stars 16 forks source link

Non-lethal error log on start.sh #1505

Open rickmcgeer opened 6 months ago

rickmcgeer commented 6 months ago

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

linusha commented 6 months ago

The paths you copied in here mention a lively.next-node_modules folder inside of the local_projects folder, as well as a custom-npm-modules folder inside of the local_projects folder. These two should not exist there, but at the root of the lively.next installation (so in the same hierarchy that all the lively.morphic, lively.ide folders etc. are). Have you actively copied them there? If so, what were you trying to achieve? In any case, those should not be there. Please delete them from the local_projects folder, execute install.sh afterwards and I would hope that already fixes your problem!