Open mannipulator opened 1 year ago
Hello, I've got the same error 😉
root@3c1b4c787426:~# notion-translator --from en --to pl --url https://www.notion.so/reloh/Navigating-the-WebUI-f3137476e4fa4c17a452965bed42fb8f
Wait a minute! Now translating the following Notion page:
https://www.notion.so/reloh/Navigating-the-WebUI-f3137476e4fa4c17a452965bed42fb8f
(this may take some time) ........./usr/local/lib/node_modules/notion-translator/index.js:376
const newTitle = newPage.properties.title.title[0];
^
TypeError: Cannot read properties of undefined (reading 'title')
at createNewPageForTranslation (/usr/local/lib/node_modules/notion-translator/index.js:376:45)
at /usr/local/lib/node_modules/notion-translator/index.js:421:25
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v20.8.0
Does anyone have a workaround for that bug?
Hi, I have the same issue. Did you find a solution?
I'm facing the same issue
i got the same issue
i fix this bug. for me, just replace "newPage.properties.title.title[0]" with "newPage.properties.Name.title[0]", then it will work well
Hello again ;)
first of all: Thanks for this blazing fast bugfix today, that seems to work.
Now I found this error-message: