dendron icon indicating copy to clipboard operation
dendron copied to clipboard

Invalid Casing during Export

Open VoltCruelerz opened this issue 3 years ago • 2 comments

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:

  1. Open dendron workspace
  2. Ctrl+Shift+P
  3. Dendron: Publish Export (can skip build or not, it doesn't matter)
  4. See error

Expected behavior

Export should not fail.

Screenshots

image

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

dendron.log

VoltCruelerz avatar Jul 16 '22 16:07 VoltCruelerz

Thank you for reporting the issue. We'll let you know when this gets resolved.

hikchoi avatar Jul 18 '22 01:07 hikchoi

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...

softwareengel avatar Oct 16 '23 14:10 softwareengel