NorthwoodsSoftware / GoJS

JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
http://gojs.net
Other
7.7k stars 2.86k forks source link

Module not found error for go-debug #207

Closed RaemyS closed 5 months ago

RaemyS commented 5 months ago

Hi,

We have tried to update gojs from version 2.2.16 to 2.3.16. The following error message now appears during the build:

Module not found: Error: Package path ./release/go-debug is not exported from package C:...\node_modules\gojs (see exports field in C:...\node_modules\gojs\package.json)

We import it as follows: import * as go from 'gojs/release/go-debug';

The library is used in a project with Angular 17.

We could not find any indications in the changelog that we need to make adjustments to the imports.

Could this be a bug?

Thanks in advance for your help

simonsarris commented 5 months ago

We did change this (and did not anticipate issues), and we are changing it again with 2.3.17, which should fix this issue.

If you get 2.3.15 it might be OK for now.

RaemyS commented 5 months ago

Ok, thanks for your quick reaction. I will downgrade and try again with 2.3.17. Could you mention here when the new version is ready?

simonsarris commented 5 months ago

We'll probably be releasing later today (2.3.17 also contains some SVG renderer fixes), but I won't close this issue until 2.3.17 is out.

simonsarris commented 5 months ago

2.3.17 has been released, please give it a try and let us know if it fixes your issue.

RaemyS commented 5 months ago

2.3.17 is now installed and the build works fine now. Thanks for your quick fix👍