lalalic / docx2html

a converter from docx to html
333 stars 86 forks source link

Cannot find file: 'Shape.js' does not match the corresponding #17

Open lin198601 opened 3 years ago

lin198601 commented 3 years ago

Hello. Here is the assembly problem. ./node_modules/docx2html/lib/docx/html/textbox.js Cannot find file: 'Shape.js' does not match the corresponding name on disk: '.\node_modules\docx2html\lib\docx\html\shape.js'.

ettore-raimondi commented 3 years ago

Can we get a resolution here please?

Abs0l0mb commented 3 years ago

Tried to change "Shape" to "shape", completely messed up the whole project, don't do that

lhkg1988 commented 2 years ago

same problem

CasbaL commented 2 years ago

same problem

ranahaani commented 2 years ago

inside textbox.js file and change the name of Shape.js to shape.js

DominikSmeda commented 2 years ago

inside textbox.js file and change the name of Shape.js to shape.js

Hi, this fix works for me, but I don't know why it is not fixed still on master branch.

Craig1f commented 1 month ago

Hack fix we use in our Dockerfile build:

RUN sed -i 's/\.\/Shape/\.\/shape/g' /usr/app/node_modules/docx2html/lib/docx/html/textbox.js