Standalone Office Open XML files (Microsoft Office 2007 and later) generator for Word (docx), PowerPoint (pptx) and Excell (xlsx) in javascript. The output is a stream.
MIT License
2.65k
stars
471
forks
source link
Can't resolve 'readable-stream/passthrough' when building desktop app with electron #344
Strange. I made an electron project with it an it worked fine for me.
What version of electron are you using?
Can you provide an example project so I can see the problem?
Environment
node -v
: v13.5.0npm -v
: 6.13.4npm ls officegen
:it works fine in node.js, but breaks when required in electron
Actual Behavior
./node_modules/officegen/lib/core/index.js
Module not found: Can't resolve 'readable-stream/passthrough' in 'D:\electron-app\node_modules\officegen\lib\core'