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
The reason will be displayed to describe this comment to others. Learn more.
I tried to install chromedp tonight and the installation failed. The error was "query.go:1139:8: assignment mismatch: 7 variables but css.GetMatchedStylesForNode(nodes[0].NodeID).Do returns 8 values".
The modified file css/css.go for this commit breaks the file at https://github.com/chromedp/chromedp/blob/master/query.go#L1125, for the related chromedp project.
The problem is that the GetMatchedStylesForNodeReturns now have an additional value, InheritedPseudoElements. Having 8 properties breaks the above chromedp/query.go file because it expects GetMatchedStylesForNodeReturns to have 7 properties.
0e2f465
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to install chromedp tonight and the installation failed. The error was "query.go:1139:8: assignment mismatch: 7 variables but css.GetMatchedStylesForNode(nodes[0].NodeID).Do returns 8 values".
The modified file css/css.go for this commit breaks the file at https://github.com/chromedp/chromedp/blob/master/query.go#L1125, for the related chromedp project.
The problem is that the GetMatchedStylesForNodeReturns now have an additional value, InheritedPseudoElements. Having 8 properties breaks the above chromedp/query.go file because it expects GetMatchedStylesForNodeReturns to have 7 properties.
0e2f465
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same issue here, hope to fix soon, thanks.
0e2f465
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexd-conf @puppywang See chromedp/chromedp#1031