You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to migrate my project from V1.x to V2.x
My project is a simple viewer, introducing some wrapper API around cornerstone, to be used in a Blazor and C# project.
I did the job with version 1.x, but faced multiple issues with version 2.x
I built a new project, trying to do the job with a simple example available in the repo, i did my best to read and apply all migration documentations, but no luck!
Type script, can compile without issue, but webpack complains:
Module not found: Error: Package path ./dist/umd/index.js is not exported from package D:\projects\Tests\Cornerstone3D-V2Demo\node_modules\@cornerstonejs\tools (see exports field in D:\projects\Tests\Cornerstone3D-V2Demo\node_modules\@cornerstonejs\tools\package.json)
Describe the Bug
I'm trying to migrate my project from V1.x to V2.x
My project is a simple viewer, introducing some wrapper API around cornerstone, to be used in a Blazor and C# project.
I did the job with version 1.x, but faced multiple issues with version 2.x
I built a new project, trying to do the job with a simple example available in the repo, i did my best to read and apply all migration documentations, but no luck!
Type script, can compile without issue, but webpack complains:
Module not found: Error: Package path ./dist/umd/index.js is not exported from package D:\projects\Tests\Cornerstone3D-V2Demo\node_modules\@cornerstonejs\tools (see exports field in D:\projects\Tests\Cornerstone3D-V2Demo\node_modules\@cornerstonejs\tools\package.json)
Any help is appreciated, Thanks
Steps to Reproduce
Pushed the sample project to github here
trying to build it with webpack, the error occurs.
The current behavior
Can not pack it with webpack
The expected behavior
It should get built.
OS
Windows 11
Node version
22.0.0
Browser
Chrome
The text was updated successfully, but these errors were encountered: