You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
This bug will trigger the following error at deployment time
[ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received type number (91100)
To Reproduce
Steps to reproduce the behavior:
Use webpack to build the project
Invoke the pdf2md function
See the error at the console
Expected behavior
The path dependence seems will break when using webpack to build the production, which the same code work smoothly at development mode
Screenshots
Desktop (please complete the following information):
Describe the bug
This bug will trigger the following error at deployment time
To Reproduce
Steps to reproduce the behavior:
pdf2md
functionExpected behavior
The path dependence seems will break when using
webpack
to build the production, which the same code work smoothly at development modeScreenshots
Desktop (please complete the following information):
Additional context
Yes, seems like the path in the dependence really mass up, I have tried to mark it as
externals
, but sadly it does not work for me.Related Issue: Support Webpack, don't use require.resolve() #76
The text was updated successfully, but these errors were encountered: