dendron
dendron copied to clipboard
Invalid Casing during Export
Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)
- [ ] Workspace. VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
- [ ] Lookup. Dendron's Lookup Command
- [ ] Views. Dendron Preview, Tree View, Side Panels in the UI
- [ ] Schema. Dendron Schemas
- [ ] Pod. Data import from / export to Dendron
- [X] Publish. External Site Publish
- [ ] Markdown. Markdown features, such as syntax support and features
Describe the bug
During publish export through visual studio code (the CLI works), it fails due to the C drive not being capitalized, with the following error (formatted and snipped for readability):
error while running command: Command failed with exit code 1: npm run --silent export
warn - Invalid casing detected for project dir,
received c:\Users\MyUser\Aa\Bb\Cc Cc\Dd\Dendron\.next
actual path C:\Users\Aa\Bb\Cc\Dd Dd\Ee\Dendron\.next,
see more info here https://nextjs.org/docs/messages/invalid-project-dir-casing
warn - No ESLint configuration detected. Run next lint to begin setup
warn - Compiled with warnings ./node_modules/next/dist/lib/is-error.js There are multiple modules with names that only differ in casing. This can lead to unexpected behavior when compiling on a filesystem with other case-semantic. Use equal casing.
To Reproduce
Steps to reproduce the behavior:
- Open dendron workspace
- Ctrl+Shift+P
Dendron: Publish Export(can skip build or not, it doesn't matter)- See error
Expected behavior
Export should not fail.
Screenshots

Desktop (please complete the following information)
- OS: Windows 10
- Versions (all that apply to bug):
- Dendron Extension: v0.103.0
- VS Code version: 1.69.1
- Dendron CLI: 0.103.0
Additional context
Add any other context about the problem here.
Dendron Log file
Thank you for reporting the issue. We'll let you know when this gets resolved.
error while running command: Command failed with exit code 1: npm run --silent export warn - Invalid casing detected for project dir, received c:\src\github\dendronpublic.next actual path C:\src\github\dendronpublic.next, see more info here https://nextjs.org/docs/messages/invalid-project-dir-casing Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating warn - Compiled with warnings ./node_modules/next/dist/lib/is-error.js There are multiple modules with names that only differ in casing. This can lead to unexpected behavior when compiling on a filesystem with other case-semantic. Use equal casing. Compare these module identifiers: * C:\src\github\dendronpubl...