luissanchezdev
03/10/2022, 4:11 PMJoshi
03/10/2022, 4:19 PMluissanchezdev
03/10/2022, 4:21 PMluissanchezdev
03/10/2022, 4:22 PM8 | ) => {
   9 |   const { noteIndex: note, notes } = getNotes();
> 10 |   const body = await getNoteBody(note.id);
     |                                      ^
  11 |   const config = await getConfig();
  12 |   const customHeadContent: string | null = await getCustomHead();
  13 |   const collectionChildren = note.custom?.has_collectionluissanchezdev
03/10/2022, 4:40 PMJoshi
03/10/2022, 4:59 PMluissanchezdev
03/10/2022, 5:00 PMluissanchezdev
03/10/2022, 5:07 PMC:\Users\GovaS\AppData\Local\Programs\Microsoft VS Code\TODO/package.jsonluissanchezdev
03/10/2022, 5:07 PMJoshi
03/10/2022, 5:11 PMluissanchezdev
03/10/2022, 5:24 PMJoshi
03/10/2022, 5:25 PMluissanchezdev
03/10/2022, 5:41 PM{
  "level": 50,
  "time": 1646933898270,
  "pid": 15804,
  "hostname": "DESKTOP-4VKG2RE",
  "name": "publish <cmd>",
  "stack": "TypeError: value.replace is not a function\n    at encode (C:\\code\\dendron\\main\\node_modules\\stringify-entities\\lib\\core.js:7:17)\n    at encode (C:\\code\\dendron\\main\\node_modules\\stringify-entities\\lib\\encode.js:12:10)\n    at Object.serializeText [as text] (C:\\code\\dendron\\main\\node_modules\\hast-util-to-html\\lib\\text.js:12:7)\n    at serialize (C:\\code\\dendron\\main\\node_modules\\hast-util-to-html\\lib\\one.js:25:29)\n    at all (C:\\code\\dendron\\main\\node_modules\\hast-util-to-html\\lib\\all.js:14:22)\n    at Object.serializeElement [as element] (C:\\code\\dendron\\main\\node_modules\\hast-util-to-html\\lib\\element.js:33:13)\n    at serialize (C:\\code\\dendron\\main\\node_modules\\hast-util-to-html\\lib\\one.js:25:29)\n    at all (C:\\code\\dendron\\main\\node_modules\\hast-util-to-html\\lib\\all.js:14:22)\n    at Object.serializeElement [as element] (C:\\code\\dendron\\main\\node_modules\\hast-util-to-html\\lib\\element.js:33:13)\n    at serialize (C:\\code\\dendron\\main\\node_modules\\hast-util-to-html\\lib\\one.js:25:29)",
  "type": "Error",
  "msg": "value.replace is not a function"
}
I will create a  fresh oneJoshi
03/10/2022, 5:46 PMluissanchezdev
03/10/2022, 5:51 PMluissanchezdev
03/10/2022, 5:52 PMluissanchezdev
03/10/2022, 5:52 PMluissanchezdev
03/10/2022, 5:52 PMJoshi
03/10/2022, 5:52 PMluissanchezdev
03/10/2022, 5:53 PMluissanchezdev
03/10/2022, 5:53 PM