sheetjs icon indicating copy to clipboard operation
sheetjs copied to clipboard

Empty output

Open basma-emad opened this issue 10 years ago • 3 comments

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

basma-emad avatar Nov 24 '16 10:11 basma-emad

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

masterzhang avatar Nov 28 '16 08:11 masterzhang

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

basma-emad avatar Nov 28 '16 09:11 basma-emad

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

SheetJSDev avatar Feb 10 '17 19:02 SheetJSDev