onnxruntime icon indicating copy to clipboard operation
onnxruntime copied to clipboard

Please Add webpack and typescript configuration

Open mram0509 opened this issue 1 year ago • 3 comments

The packaging is failing with Webpack. with the following error:

imageHelper.ts:52 Uncaught (in promise) TypeError: Jimp.default.read is not a function

Seems to work with next js pacakaging

mram0509 avatar May 25 '24 06:05 mram0509

I don't see it. How do I reproduce this ?

guschmue avatar May 28 '24 15:05 guschmue

Create a vanilla JavaScript project using webpack. Basically not using next.js packaging. I am also using the latest Jimp. Then webpack packages it with no issues, but then at run time I get the above error. Changed it to Jimp.read - I then get another error.

mram0509 avatar May 28 '24 16:05 mram0509

This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

github-actions[bot] avatar Jun 28 '24 15:06 github-actions[bot]

This issue has been automatically closed as 'not planned' because it has been marked as 'stale' for more than 30 days without activity. If you believe this is still an issue, please feel free to reopen it.

snnn avatar Jun 07 '25 23:06 snnn