Error: _RichText.value: Invalid arguments.
See original GitHub issueThanks for the greate package
I have an error when reading excel file, And when I tried with another file such as const filePath = "../static/excel/demo.xlsx", I didn’t get any errors, is that xlsx-populate issue or my excel file’s issue ?
function insertData(dataObject) {
const filePath = "../static/excel/demo.xlsx"
XlsxPopulate.fromFileAsync(filePath)
.then(workbook => {
// handle logic here
return workbook.toFileAsync(filePath);
})
.catch(error => {
console.log('Error', error)
})
}
Error:
Error Error: _RichText.value: Invalid arguments.
at ArgHandler.handle (xxx/node_modules/xlsx-populate/lib/ArgHandler.js:50:15)
at RichTextFragment.value (xxx/node_modules/xlsx-populate/lib/RichTextFragment.js:76:14)
at new RichTextFragment (xxx/node_modules/xlsx-populate/lib/RichTextFragment.js:42:18)
at new RichText (xxx/node_modules/xlsx-populate/lib/RichText.js:23:33)
at Cell._parseNode (xxx/node_modules/xlsx-populate/lib/Cell.js:596:35)
at Cell._init (xxx/node_modules/xlsx-populate/lib/Cell.js:541:18)
at new Cell (xxx/node_modules/xlsx-populate/lib/Cell.js:24:14)
at _node.children.forEach.cellNode (xxx/node_modules/xlsx-populate/lib/Row.js:352:26)
at Array.forEach (<anonymous>)
at Row._init (xxx/node_modules/xlsx-populate/lib/Row.js:351:29)
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
overloaded method match has some invalid arguments
I suspect you want to split the rich text box content by lines, then pass this to the new form and show it....
Read more >Invalid argument type (Text), Expecting a Record value instead
I am building a report catalog application and have repeatedly run into the error message "Invalid argument type (Text), Expecting a Record value...
Read more >Invalid Smarty syntax - Post Affiliate Pro Support Portal
The error "Invalid Smarty syntax" should appear when editing templates. The reason why it appeared is that you used some special character ...
Read more >An error in a rich text field - Nintex help documentation
Issue. You run a DocGen Package and see this message: HandleFillException (ResourceInvalid/??) · Cause. You could get this message if a rich text...
Read more >Overcoming NetSuite SuiteScript 2.0 LongText RichText ...
Abstract: SuiteScript 2.0 > Suitelet > Sublist.addField(options) > SSS_INVALID_TYPE_ARG”,”message”:” You have entered an invalid type argument: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Keep in mind this library won’t generate phonetics for Kanji. Thus, whenever you modified a cell that contains phonetic nodes, the phonetic nodes will be removed.
I will take a look tomorrow.