-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
build errors after upgrade to 1.0.3 #1646
Comments
Thanks for the report @t-works! This is a bug introduced by our recent switch to
|
Thank you very much for your feedback! We are using the 1.0.1 for the time being. does not allow us to build 1.0.3 - it is trying to find the file: Best |
@t-works aha you are exactly right, good catch! Verified this is missing on It appears that |
Both fixes are in the |
Bug Report
Steps to Reproduce:
change perspective version from 1.0.1 to 1.0.3
Expected Result:
build project
Actual Result:
build errors:
ERROR in ./node_modules/@finos/perspective-viewer/dist/pkg/perspective_viewer.js 1:0-90
Module not found: Error: Can't resolve './snippets/perspective-viewer-c0843f68e2505c94/inline0.js' in '[..]\node_modules@finos\perspective-viewer\dist\pkg'
@ ./node_modules/@finos/perspective-viewer/dist/esm/perspective-viewer.js 2:29690-29796 2:29925-29927
@ ./src/index.tsx 14:0-35
ERROR in Conflict: Multiple assets emit different content to the same filename editor.worker.js.map
ERROR in Conflict: Multiple assets emit different content to the same filename editor.worker.js
ERROR in [..]\src\index.tsx
./src/index.tsx
[tsl] ERROR in [..]\src\index.tsx(19,70)
TS2307: Cannot find module '@finos/perspective-viewer' or its corresponding type declarations.
ERROR in [..]\src\index.tsx
./src/index.tsx
[tsl] ERROR in [..]\src\index.tsx(47,12)
TS2339: Property 'perspective-viewer' does not exist on type 'JSX.IntrinsicElements'.
ERROR in [..]\src\index.tsx
./src/index.tsx
[tsl] ERROR in [..]\src\index.tsx(47,72)
TS2339: Property 'perspective-viewer' does not exist on type 'JSX.IntrinsicElements'.
Environment:
windows 10
example repo: https://github.com/t-works/perspective1.0.3-react-error
The text was updated successfully, but these errors were encountered: