Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: ENOENT: no such file or directory, open '[app]/.evidence/template/src/pages/settings/+page.md' #2571

Open
archiewood opened this issue Sep 23, 2024 · 2 comments
Assignees
Labels
bug Something isn't working to-review Evidence team to review

Comments

@archiewood
Copy link
Member

Describe the bug

launch a new project from VSCode, get an error printed to the terminal

Uncaught error while server responding {
  error: Error: ENOENT: no such file or directory, open '/Users/archie/test-ch/.evidence/template/src/pages/settings/+page.md'
      at async open (node:internal/fs/promises:639:25)
      at async Object.readFile (node:internal/fs/promises:1249:14)
      at async GET (/Users/archie/test-ch/.evidence/template/src/pages/api/[...route]/evidencemeta.json/+server.js:38:18)
      at async Module.render_endpoint (/Users/archie/test-ch/node_modules/@sveltejs/kit/src/runtime/server/endpoint.js:43:18)
      at async resolve (/Users/archie/test-ch/node_modules/@sveltejs/kit/src/runtime/server/respond.js:443:17)
      at async Module.respond (/Users/archie/test-ch/node_modules/@sveltejs/kit/src/runtime/server/respond.js:319:20)
      at async file:///Users/archie/test-ch/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:524:22 {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/Users/archie/test-ch/.evidence/template/src/pages/settings/+page.md'

Steps to Reproduce

launch a new project from VSCode,

Logs

No response

System Info

No response

Severity

serious, but I can work around it

Additional Information, or Workarounds

No response

@archiewood archiewood added bug Something isn't working to-review Evidence team to review labels Sep 23, 2024
@kwongz
Copy link
Contributor

kwongz commented Sep 23, 2024

Getting similar errors when launching latest template

Uncaught error while server responding {
error: [Error: ENOENT: no such file or directory, open 'C:\Users\Kylew.DESKTOP-Q3QTV5P.000\test-broken.evidence\template\src\pages\settings+page.md'] {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\Users\Kylew.DESKTOP-Q3QTV5P.000\test-broken\.evidence\template\src\pages\settings\+page.md'

@archiewood
Copy link
Member Author

@ItsMeBrianD thinks this is an extraneous console log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working to-review Evidence team to review
Projects
None yet
Development

No branches or pull requests

3 participants