tfer
02/03/2021, 11:21 PMcontrol go / stuff? And could the people who are running into this leave a note of what platform they are on? I'm on Windows 10, wondering if it is window only problem with the new publishingV2 stuff?ilana
02/04/2021, 2:39 AMkevins8
02/04/2021, 2:47 AMhikchoi
02/04/2021, 2:49 AMkevins8
02/04/2021, 2:58 AMcontrol go /?mandarvaze
02/04/2021, 3:01 AMtfer
02/04/2021, 6:10 AMlocalhost:8080tfer
02/04/2021, 6:28 AMCannot GET /, a couple of other people have mentioned this, not report the platform they are on.mandarvaze
02/04/2021, 11:48 AMmandarvaze
02/04/2021, 11:50 AMSite Preview has started failing, I decided to try Site Build - It showed some message that did not make sense, but I learned that it was some error from dendron-cli
So I decided to build the site from the command line
It fails too š¦
Here are the complete logmandarvaze
02/04/2021, 11:53 AMroot.md
mandar in ~/projects/blogs/Dendron is š¦ v1.0.0 via ⬢ v15.7.0
ā tree
.
āāā dendron.code-workspace
āāā dendron.yml
āāā docs
ā āāā 404.md
ā āāā Gemfile
ā āāā _config.yml
ā āāā assets
ā ā āāā images
ā ā āāā logo-banner.png
ā ā āāā logo.png
ā āāā favicon.ico
ā āāā notes
āāā package.json
āāā public
ā āāā root.md
ā āāā root.schema.yml
āāā vault
āāā root.md
āāā root.schema.yml
6 directories, 13 filesmandarvaze
02/04/2021, 11:53 AMā cat public/root.md
---
id: feed81dd-a5ef-43e2-9726-58ffd49dbb9b
title: Public Vault
desc: ''
updated: 1612315643559
created: 1612315579544
---
# Publicmandarvaze
02/04/2021, 11:56 AMā dendron-cli buildSite --version
0.28.2-alpha.2mandarvaze
02/04/2021, 11:57 AMno notes found for root - which seems misleading (to me)
2. "TypeError: Cannot read property '0' of undefined\n at Object.resolvePathmandarvaze
02/04/2021, 11:59 AMCannot GET / āļø But I have a feeling Cannot GET / may be generic message.kcrazk
02/04/2021, 2:23 PMdendron: build site, dendron give me these messages:
+ building... blue info
+ and last, a json formatted red error which contain this info:
TypeError: Cannot read property 'close' of undefined
at BuildSiteV2CLICommand.execute (/home/lv2/syncthing/partage/lecture_ecriture/dendron2/node_modules/@dendronhq/dendron-cli/lib/src/commands/build-site-v2.js:82:20
At this point, files are generated in the docs repertory, but the css file just-the-docs-default.css is missing (although others assets seem to be at their good place).
The only way I've found to build the site without error is with this console command:
$ npx dendron-cli buildSiteV2 --wsRoot /home/lv2/syncthing/partage/lecture_ecriture/dendron2 --stage prod
Have I missed something ?
Thanks for your helpingmandarvaze
02/04/2021, 2:31 PMbuildSiteV2 option
Now I get slightly different error (but same result :()
Earlier it used to no notes found for root
Now it says 'mult notes found for root' (Yeah, mult not multi)
(make up your mind already. Did you or did you not find notes LOL š)kcrazk
02/04/2021, 2:37 PMblabla... "Command failed with exit code 1: npx dendron-cli buildSiteV2 --wsRoot /home/lv2/syncthing/partage/lecture_ecriture/dendron2 --stage prod --enginePort 36307 blabla....
TypeError: Cannot read property 'close' of undefined\\n at BuildSiteV2CLICommand.execute (/home/lv2/syncthing/partage/lecture_ecriture/dendron2/node_modules/@dendronhq/dendron-cli/lib/src/commands/build-site-v2.js:82:20) blabla...
ā ļø
The variable server seems to be undefined in build-site-v2.js (line 82 in my case).mandarvaze
02/04/2021, 3:38 PMtfer
02/04/2021, 3:39 PMmandarvaze
02/04/2021, 3:46 PMwsRoot is parent folder of "vault"
I consider wsRoot as the folder where dendron-code.workspace liveskcrazk
02/04/2021, 3:47 PMC:\vault_md\ directory. I launched it from the directory which contains dendron-code.workspace. ( I'm on Linux)mandarvaze
02/04/2021, 4:10 PM--wsRoot . (I also tried to provide full path instead of relative path like .)
I'm on macOS, but I doubt that matters.Bassmann
02/04/2021, 6:54 PMkevins8
02/04/2021, 7:49 PMdendron.yml? can diagnose it from thereBassmann
02/04/2021, 8:22 PMCannot GET / error.Bassmann
02/04/2021, 8:23 PMSite PreviewBassmann
02/04/2021, 8:26 PMkcrazk
02/04/2021, 8:29 PMnpx dendron-cli buildSiteV2 --wsRoot . --stage prod --serveBassmann
02/04/2021, 8:32 PM