About xlsx.extendscript.js #2629
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#2629
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I include the file "xlsx.extendscript.js" in a After effects script file (.jsx), when executing the script will encounter an error:
code:
Syntax Error:
Unterminated string constant <= line:5620 column:9 file: /Users/xxx/aeproject/script/smscript/node_modules/xlsx/dist/xlsx.extendscript.js.
The After Effects version is 2020 for MAC
VSCode version is 1.65.2
Thank you for your help !
Does the same issue show up when using the ExtendScript toolkit directly (https://github.com/Adobe-CEP/CEP-Resources/tree/master/ExtendScript-Toolkit) ?
The tool is only available in 32-bit version and is officially no longer supported or maintained.
That ExtendScript Toolkit will not run on macOS 10.15 Catalina or above, My Mac OS version is 12.2.1.
Most people currently use the VSCode ExtendScript Debugger plugin.
It may be expecting a UTF8 BOM, can you try adding it in? In the shell:
This will create a new file that you can import.
Thanks for your reply.
The number of error lines changed after UTF8 BOM was added.
ESBuild bug https://github.com/evanw/esbuild/issues/2136 , in the meanwhile we'll refactor that line
@jlzyyds unfortunately esbuild is not going to fix the bug, so the line was reworked and the updated build appears to work correctly back to ESTK 3.5. Please test against https://raw.githubusercontent.com/SheetJS/sheetjs/master/dist/xlsx.extendscript.js . Download with curl:
@SheetJSDev appreciate your help!
it works fine now.
Thank you very much.