Empty output #508

Closed
opened 2016-11-24 10:50:52 +00:00 by basma-emad · 3 comments
basma-emad commented 2016-11-24 10:50:52 +00:00 (Migrated from github.com)

attached excel file is not parsed right, empty output was returned.
Zeinab shaker_CoverageList_20161103_02-37-34.xlsx

attached excel file is not parsed right, empty output was returned. [Zeinab shaker_CoverageList_20161103_02-37-34.xlsx](https://github.com/SheetJS/js-xlsx/files/611093/Zeinab.shaker_CoverageList_20161103_02-37-34.xlsx)
masterzhang commented 2016-11-28 08:28:43 +00:00 (Migrated from github.com)

hi basma-emad
i have some problem,can you do me a favor?

when i run project,it has error

WARNING in ./~/.0.8.0@xlsx/jszip.js
Critical dependencies:
12:436-443 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
 @ ./~/.0.8.0@xlsx/jszip.js 12:436-443

ERROR in ./~/.0.8.0@xlsx/xlsx.js
Module not found: Error: Cannot resolve module 'fs' in F:\GitHub\YiSuan\node_modules\.0.8.0@xlsx
 @ ./~/.0.8.0@xlsx/xlsx.js 1204:27-40 1340:8-24

ERROR in ./~/.0.8.0@xlsx/ods.js
Module not found: Error: Cannot resolve module 'fs' in F:\GitHub\YiSuan\node_modules\.0.8.0@xlsx
 @ ./~/.0.8.0@xlsx/ods.js 58:8-24

ERROR in ./~/.0.8.0@xlsx/dist/cpexcel.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./cptable in F:\GitHub\YiSuan\node_modules\.0.8.0@xlsx\dist
 @ ./~/.0.8.0@xlsx/dist/cpexcel.js 807:16-41

after i install fs, it still has this mistake

hi basma-emad i have some problem,can you do me a favor? when i run project,it has error ``` WARNING in ./~/.0.8.0@xlsx/jszip.js Critical dependencies: 12:436-443 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results. @ ./~/.0.8.0@xlsx/jszip.js 12:436-443 ERROR in ./~/.0.8.0@xlsx/xlsx.js Module not found: Error: Cannot resolve module 'fs' in F:\GitHub\YiSuan\node_modules\.0.8.0@xlsx @ ./~/.0.8.0@xlsx/xlsx.js 1204:27-40 1340:8-24 ERROR in ./~/.0.8.0@xlsx/ods.js Module not found: Error: Cannot resolve module 'fs' in F:\GitHub\YiSuan\node_modules\.0.8.0@xlsx @ ./~/.0.8.0@xlsx/ods.js 58:8-24 ERROR in ./~/.0.8.0@xlsx/dist/cpexcel.js Module not found: Error: Cannot resolve 'file' or 'directory' ./cptable in F:\GitHub\YiSuan\node_modules\.0.8.0@xlsx\dist @ ./~/.0.8.0@xlsx/dist/cpexcel.js 807:16-41 ``` after i install fs, it still has this mistake
basma-emad commented 2016-11-28 09:29:22 +00:00 (Migrated from github.com)

try adding this line
var fs = require("fs");

try adding this line var fs = require("fs");
SheetJSDev commented 2017-02-10 19:47:12 +00:00 (Migrated from github.com)

@basma-emad the file was not being parsed properly because of some unexpected namespaced xml tags. The relevant checks have been expanded.

@basma-emad the file was not being parsed properly because of some unexpected namespaced xml tags. The relevant checks have been expanded.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#508
No description provided.