microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.01k stars 2.83k forks source link

Please Add webpack and typescript configuration #20822

Open MayuraRam opened 3 months ago

MayuraRam commented 3 months ago

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

guschmue commented 3 months ago

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

MayuraRam commented 3 months ago

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.

github-actions[bot] commented 2 months ago

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.