This issue has been created
 
 
Cristal / cid:jira-generated-image-avatar-ca5343ca-c63e-4b01-bc7b-8c0665b3ffd9 CRISTAL-313 Open

On first launch there are errors in the logs

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-b4131711-bbca-495b-b2f2-364afa55eba6 Vincent Massol created this issue on 25/Nov/24 16:04
 
Summary: On first launch there are errors in the logs
Issue Type: cid:jira-generated-image-avatar-ca5343ca-c63e-4b01-bc7b-8c0665b3ffd9 Bug
Affects Versions: 0.11
Assignee: Unassigned
Created: 25/Nov/24 16:04
Priority: cid:jira-generated-image-static-major-0e4309e4-f92b-426a-aaed-b0c0a2d34484 Major
Reporter: Vincent Massol
Description:
> @xwiki/cristal-electron@0.11.0 start /Users/vmassol/dev/xwiki/cristal/electron
> electron .Skip checkForUpdates because application is not packed and dev update config is not forced
checkForUpdatesAndNotify called, downloadPromise is null
[Error: ENOENT: no such file or directory, lstat '/Users/vmassol/.cristal/index/page.json'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/Users/vmassol/.cristal/index/page.json'
}
[Error: ENOENT: no such file or directory, lstat '/Users/vmassol/.cristal/index/page.json'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/Users/vmassol/.cristal/index/page.json'
}
[Error: ENOENT: no such file or directory, lstat '/Users/vmassol/.cristal/index/page.json'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/Users/vmassol/.cristal/index/page.json'
}
[Error: ENOENT: no such file or directory, lstat '/Users/vmassol/.cristal/index/page.json'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/Users/vmassol/.cristal/index/page.json'
}
Error occurred in handler for 'listChildren': Error: ENOENT: no such file or directory, scandir '/Users/vmassol/.cristal'
    at async readdir (node:internal/fs/promises:948:18)
    at async F_ (/Users/vmassol/dev/xwiki/cristal/electron/main/dist/index.cjs:30:46478)
    at async WebContents.<anonymous> (node:electron/js2c/browser_init:2:86658) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: '/Users/vmassol/.cristal'
}
[Error: ENOENT: no such file or directory, lstat '/Users/vmassol/.cristal/index/attachments'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/Users/vmassol/.cristal/index/attachments'
}