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
Link to reproduction (IMPORTANT, read below): Unable to reproduce outside of my project yet
I am currently trying to make a reproducible case and will update this issue when the culprit is found. The error message is pretty meaningless so finding the cause is problematic.
Expected Behavior
After upgrading from 2.26.6 where rollup is working correctly to 2.26.7 (and 8,9,10) it should work the same
Actual Behavior
Instead the following error is printed
[!] TypeError: this.context.nodeConstructors[esTreeNode.consequent.type] is not a constructor
TypeError: this.context.nodeConstructors[esTreeNode.consequent.type] is not a constructor
at IfStatement.parseNode (E:\Projects\!Current\morpho\node_modules\rollup\dist\shared\rollup.js:7311:27)
at new NodeBase (E:\Projects\!Current\morpho\node_modules\rollup\dist\shared\rollup.js:2824:14)
at new IfStatement (E:\Projects\!Current\morpho\node_modules\rollup\dist\shared\rollup.js:7265:9)
at BlockStatement$1.parseNode (E:\Projects\!Current\morpho\node_modules\rollup\dist\shared\rollup.js:2938:27)
at new NodeBase (E:\Projects\!Current\morpho\node_modules\rollup\dist\shared\rollup.js:2824:14)
at new BlockStatement$1 (E:\Projects\!Current\morpho\node_modules\rollup\dist\shared\rollup.js:5983:9)
at FunctionExpression$1.parseNode (E:\Projects\!Current\morpho\node_modules\rollup\dist\shared\rollup.js:4340:21)
at new NodeBase (E:\Projects\!Current\morpho\node_modules\rollup\dist\shared\rollup.js:2824:14)
at new FunctionNode (E:\Projects\!Current\morpho\node_modules\rollup\dist\shared\rollup.js:4250:9)
at new FunctionExpression$1 (E:\Projects\!Current\morpho\node_modules\rollup\dist\shared\rollup.js:7248:1)
OK the error is caused by the same problem as in #3766. Using debugger in the code is causing rollup to fail. Since this is a duplicate I am closing the issue.
I am currently trying to make a reproducible case and will update this issue when the culprit is found. The error message is pretty meaningless so finding the cause is problematic.
Expected Behavior
After upgrading from 2.26.6 where rollup is working correctly to 2.26.7 (and 8,9,10) it should work the same
Actual Behavior
Instead the following error is printed
Works fine with <= 2.26.6 so it is a regression problem related to #3752: https://github.com/rollup/rollup/pull/3752/files#diff-df354c9e51f1407474114304de5c8429R73
The text was updated successfully, but these errors were encountered: