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

Starting auto-reveal without a package.json present fails #37

Open
pichfl opened this issue Sep 11, 2024 · 0 comments
Open

Starting auto-reveal without a package.json present fails #37

pichfl opened this issue Sep 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pichfl
Copy link
Collaborator

pichfl commented Sep 11, 2024

The way we implemented loading of config files requires them to be present.

presentations/auto-reveal on 🌱 main [?]
❯ auto-reveal .
No package.json found
No README.md found, falling back to `name` in package.json
  ➜  Local:   http://localhost:1337/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help
Error:   Failed to scan for dependencies from entries:
  /Users/pichfl/Developer/mainmatter/auto-reveal/src/index.html

  ✘ [ERROR] Invalid glob: "@theme/config.json" (resolved: "reveal.js/dist/theme/config.json"). It must start with '/' or './' [plugin vite:dep-scan]

    ../../../../mainmatter/auto-reveal/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1275:21:
      1275 β”‚         let result = await callback({
           β•΅                      ^
@pichfl pichfl added the bug Something isn't working label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant