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
Describe the problem
From findings in patternfly/patternfly-react#10403. When building OCP using prerelease numbers, and either a) not updating the Charts version or b) using resolutions for Victory dep + updating charts version, there are errors thrown due to the dagrejs dep in Topology:
ERROR in ./node_modules/@dagrejs/graphlib/lib/data/priority-queue.js 9:7
Module parse failed: Unexpected token (9:7)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| */
| class PriorityQueue {
> _arr = [];
| _keyIndices = {};
|
ERROR in packages/knative-plugin/src/topology/listView/knativeListViewComponentFactory.ts:34:7
How do you reproduce the problem?
Provide steps to reproduce. A codesandbox demonstrating the problem is appreciated.
Expected behavior
A clear and concise description of the expected behavior.
Is this issue blocking you?
List the workaround if there is one.
Screenshots
If applicable, add screenshots to help explain the issue.
What is your environment?
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
What is your product and what release date are you targeting?
Any other information?
The text was updated successfully, but these errors were encountered:
The only difference is that the @patternfly/react-charts was either using the prelease version mentioned above + resolutions for Victory deps to use their 36.9.1 release, or using the 7.2.2 release of @patternfly/react-charts without Victory resolutions.
@jeff-phillips-18 and I tested the build this afternoon in OCP using these versions and were able to reproduce these dagre errors. This issue typically arises on the product side in webpack configurations when webpack encounters a file type that it doesn't know how to process by default.
In order to fix this, OCP may have to change their webpackconfig or tsconfig settings. cc @thatblindgeye
Describe the problem
From findings in patternfly/patternfly-react#10403. When building OCP using prerelease numbers, and either a) not updating the Charts version or b) using resolutions for Victory dep + updating charts version, there are errors thrown due to the dagrejs dep in Topology:
How do you reproduce the problem?
Provide steps to reproduce. A codesandbox demonstrating the problem is appreciated.
Expected behavior
A clear and concise description of the expected behavior.
Is this issue blocking you?
List the workaround if there is one.
Screenshots
If applicable, add screenshots to help explain the issue.
What is your environment?
What is your product and what release date are you targeting?
Any other information?
The text was updated successfully, but these errors were encountered: