-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
package.json: Update @patternfly/react-console package dependency #9579
package.json: Update @patternfly/react-console package dependency #9579
Conversation
npm-update in progress on cockpit-tasks-dflfh. |
npm-update in progress on cockpit-tasks-4p5bk. |
npm-update @patternfly/react-console done: https://github.com/cockpituous/cockpit/commits/npm-update-@patternfly/react-console-20180704-134949 |
Please manually check features related to these files:
|
I cannot reproduce this on my Fedora 28 system, but I get it in a cockpit/tests container. |
I keep getting this in the container:
A quick google search sems to indicate that this might be related to wrong Babel settings - but why does that work on Fedora 28 (my host) and not Fedora 27 (the container).. Both have the same npm (5.6.0) and node (8.11.3) version, and pretty much all the rest (in particular, Uglify.js, babel, and webpack) are used from npm. |
I can reproduce this locally (no container) on Fedora 28 as well. It happens when I directly run This works:
This doesn't:
I tried to fix the broken build with
i. e. switching from This is because our |
I tried building cockpit with a newer uglify, which works well by itself. But together with the react-console bump, it fails again, but now the error looks different:
Indeed in machines.min.js the I noticed that this function is also being called from react-console:
This is new in 1.4.0, and most certainly is the relevant change here. Before that, the function was only being called from within noVNC. |
@mareklibra : OK, good to know. Then I figure we don't need to bother with tracking this down further. But it seems to me that moving to react still needs quite some work? A lot of PRs went in already, but I've lost track. |
@martinpitt , right, still something to do. I'll rebase the "top-level" react patch so it will be more clear what remains. |
Check for any outstanding update of point version of any outstanding NPM package dependency