matrix: v6.10.7 "The requested module './matrix.js' does not provide an export named 'default'"

When upgrading from version 6.10.5 to 6.10.7, I am now getting this error in the matrix.mjs file. image image

Here is what my import looks like: image

Any help would be appreciated!

About this issue

  • Original URL
  • State: open
  • Created 8 months ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

Hi @targos I apologize for the late response but I would like to work through diagnosing and resolving this without a workaround. Currently I am using ml-matrix version 6.10.8 and this is the error that I get when attempted to load our web app. image

The error occurs on this line of the matrix.js file image

I believe the main problem is in the matrix.js file where it uses exports and require which cannot be used in a browser context. I am not sure how much work it would be for you to make this browser friendly, but this would be a really cool addition!