Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read properties of undefined (reading 'id') #34

Open
gabrielcayres1 opened this issue Jan 29, 2025 · 1 comment
Open

Comments

@gabrielcayres1
Copy link

Hello. When trying to import a json from Trello with the following command:
npm run import-board -- --file=/home/gabriel/trello.json

I get an error with the following message:

TypeError: Cannot read properties of undefined (reading 'id')

The full log is this:

authenticated GET to http://192.168.3.39:3000/api/users/me
status = 200
authenticated POST to http://192.168.3.39:3000/api/projects/1434382650465846290/boards
status = 200
TypeError: Cannot read properties of undefined (reading 'id')
at file:///home/gabriel/trello2planka/src/trello/export.js:22:22
 at Array.forEach (<anonymous>)
 at getUsedTrelloLabels (file:///home/gabriel/trello2planka/src/trello/export.js:21:57)
 at importLabels (file:///home/gabriel/trello2planka/src/planka/import.js:55:37)
 at importTrelloBoard (file:///home/gabriel/trello2planka/src/planka/import.js:17:40)
 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
 at async main (file:///home/gabriel/trello2planka/src/index.js:8:9)
@christophenne
Copy link
Owner

Hi, thanks for reporting.

Unfortunately I don't have any trello export where this error occurs.
Could you please checkout the branch 34-typeerror-cannot-read-properties-of-undefined-reading-id with a quickfix and test whether its working now or if there are any follow up issues? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants