question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgraded to 3.4 - Cannot set property 'marked' of undefined

See original GitHub issue

Downgrading to 3.3.1 avoids the problem. Difficult for me to say what exactly causes the problem as the error is raised only when writing the sheet to file.

(node:57552) UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'marked' of undefined
    at .../node_modules/exceljs/lib/xlsx/xform/sheet/data-validations-xform.js:77:40
    at Array.map (<anonymous>)
    at .../node_modules/exceljs/lib/xlsx/xform/sheet/data-validations-xform.js:54:6)
    at .../node_modules/exceljs/lib/xlsx/xform/sheet/data-validations-xform.js:105:28)
    at .../node_modules/exceljs/lib/xlsx/xform/sheet/worksheet-xform.js:233:30)
    at .../node_modules/exceljs/lib/xlsx/xlsx.js:532:22
    at Array.forEach (<anonymous>)
    at .../node_modules/exceljs/lib/xlsx/xlsx.js:530:22)
    at .../node_modules/exceljs/lib/xlsx/xlsx.js:623:16)

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:3
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Siemienikcommented, Feb 5, 2020

I’ve some investigation about that and for me, these changes may be the best candidates:

image

https://github.com/exceljs/exceljs/compare/v3.3.1...v3.4.0

1reaction
dadliancommented, Dec 12, 2019

Thanks man this saved me from a nightmare meeting with a client!

Read more comments on GitHub >

github_iconTop Results From Across the Web

JavaScript - cannot set property of undefined - Stack Overflow
I get the following error: Uncaught TypeError: Cannot set property 'greeting' of undefined. I'm trying to do something similar to an associative array....
Read more >
Uncaught TypeError: Cannot set property 'Bridge' of undefined
Summary This issue happens when a subtheme has not been updated to extend the Bootstrap/framework library. See the change record to resolve.
Read more >
Documentation - TypeScript 2.0
Null - and undefined-aware types. TypeScript has two special types, Null and Undefined, that have the values null and undefined respectively.
Read more >
Changelog - Cypress Documentation
Fixed an issue where the Cypress migration wizard would fail to run in global ... Added the mimeType property so you can explicitly...
Read more >
cannot set properties of undefined (setting '$meta') - You.com
From your syntax, (i.e., createApp(App).use(router) ... etc.) it looks like you are using Vue3. The vue-meta plugin was developed for Vue2 and will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found