Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please Add webpack and typescript configuration #20822

Open
MayuraRam opened this issue May 25, 2024 · 3 comments
Open

Please Add webpack and typescript configuration #20822

MayuraRam opened this issue May 25, 2024 · 3 comments
Labels
platform:web issues related to ONNX Runtime web; typically submitted using template stale issues that have not been addressed in a while; categorized by a bot

Comments

@MayuraRam
Copy link

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

@snnn snnn added the platform:web issues related to ONNX Runtime web; typically submitted using template label May 26, 2024
@guschmue
Copy link
Contributor

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

@MayuraRam
Copy link
Author

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.

Copy link
Contributor

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 github-actions bot added the stale issues that have not been addressed in a while; categorized by a bot label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:web issues related to ONNX Runtime web; typically submitted using template stale issues that have not been addressed in a while; categorized by a bot
Projects
None yet
Development

No branches or pull requests

3 participants